소스 검색

Merge topic 'include-for-mode_t'

001043ac Include `sys/types.h` header to get `mode_t`
Brad King 10 년 전
부모
커밋
d956816d70
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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