Browse Source

Merge topic 'include-unistd-on-mac'

8a70495 automoc: include <unistd.h> on Apple to get pathconf
David Cole 13 years ago
parent
commit
b450b6dcc7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/cmQtAutomoc.cxx

+ 3 - 0
Source/cmQtAutomoc.cxx

@@ -20,6 +20,9 @@
 #include <cmsys/Terminal.h>
 
 #include <string.h>
+#if defined(__APPLE__)
+#include <unistd.h>
+#endif
 
 #include "cmQtAutomoc.h"