summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutomoc.cxx3
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"