diff options
author | David Cole <david.cole@kitware.com> | 2012-04-03 19:58:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-04-03 19:58:53 (GMT) |
commit | b450b6dcc7d04af11b6841d43c8307b924f7d45e (patch) | |
tree | 5998a526345c42b740548e51b7a7c69228dd6c0c /Source | |
parent | 7ecf76a19b53f9821583ec5be9ed12da62046c99 (diff) | |
parent | 8a704955e1cf4f703d12a4c9e429cbfe483339d7 (diff) | |
download | CMake-b450b6dcc7d04af11b6841d43c8307b924f7d45e.zip CMake-b450b6dcc7d04af11b6841d43c8307b924f7d45e.tar.gz CMake-b450b6dcc7d04af11b6841d43c8307b924f7d45e.tar.bz2 |
Merge topic 'include-unistd-on-mac'
8a70495 automoc: include <unistd.h> on Apple to get pathconf
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutomoc.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx index 8b899bc..ca27530 100644 --- a/Source/cmQtAutomoc.cxx +++ b/Source/cmQtAutomoc.cxx @@ -20,6 +20,9 @@ #include <cmsys/Terminal.h> #include <string.h> +#if defined(__APPLE__) +#include <unistd.h> +#endif #include "cmQtAutomoc.h" |