Explorar o código

Merge topic 'include-for-mode_t'

001043ac Include `sys/types.h` header to get `mode_t`
Brad King %!s(int64=10) %!d(string=hai) anos
pai
achega
d956816d70
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Source/cmStandardIncludes.h

+ 2 - 0
Source/cmStandardIncludes.h

@@ -54,6 +54,8 @@
 
 #if defined( _MSC_VER )
 typedef unsigned short mode_t;
+#else
+# include <sys/types.h>
 #endif
 
 // use this class to shrink the size of symbols in .o files