diff options
author | Brad King <brad.king@kitware.com> | 2015-12-02 13:35:47 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-12-02 13:35:47 (GMT) |
commit | d956816d70e7400b1d70f46f4f6adb87cee8c1ce (patch) | |
tree | ca3339e844c9ff5810aa8bc6d240fa75906f75b1 | |
parent | 5257a3b931e3a2edc3fbe262c8215af6e7f5bfd7 (diff) | |
parent | 001043ac3078c49651f6af0f1ff1b31ef71a7665 (diff) | |
download | CMake-d956816d70e7400b1d70f46f4f6adb87cee8c1ce.zip CMake-d956816d70e7400b1d70f46f4f6adb87cee8c1ce.tar.gz CMake-d956816d70e7400b1d70f46f4f6adb87cee8c1ce.tar.bz2 |
Merge topic 'include-for-mode_t'
001043ac Include `sys/types.h` header to get `mode_t`
-rw-r--r-- | Source/cmStandardIncludes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index dd8fa9c..aed2e74 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 |