summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-02 13:31:49 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-02 13:31:49 (GMT)
commit535760ccb954dda78cc5c23c9e75245e7529c481 (patch)
treed5b56d552c53ec48e2d4d57233756cd9d40cef64
parent7b13759d5f030064fb9715f7a94194fd27aa55b0 (diff)
parent001043ac3078c49651f6af0f1ff1b31ef71a7665 (diff)
downloadCMake-535760ccb954dda78cc5c23c9e75245e7529c481.zip
CMake-535760ccb954dda78cc5c23c9e75245e7529c481.tar.gz
CMake-535760ccb954dda78cc5c23c9e75245e7529c481.tar.bz2
Merge branch 'include-for-mode_t' into release
-rw-r--r--Source/cmStandardIncludes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 468a589..e212616 100644
--- a/Source/cmStandardIncludes.h
+++ b/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