diff options
author | Sean McBride <sean@rogue-research.com> | 2012-03-27 23:36:33 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-03-28 19:07:00 (GMT) |
commit | 8a704955e1cf4f703d12a4c9e429cbfe483339d7 (patch) | |
tree | c54de09f7d200a8376330acb1a517b4ca0b5cad0 | |
parent | 3eb3d5f30696a45467f873ab1b2e8081f70ec2de (diff) | |
download | CMake-8a704955e1cf4f703d12a4c9e429cbfe483339d7.zip CMake-8a704955e1cf4f703d12a4c9e429cbfe483339d7.tar.gz CMake-8a704955e1cf4f703d12a4c9e429cbfe483339d7.tar.bz2 |
automoc: include <unistd.h> on Apple to get pathconf
-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" |