This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  4f5acd54c99b0b0ada5b7180cd1cf865d9b7a2ca (commit)
       via  001043ac3078c49651f6af0f1ff1b31ef71a7665 (commit)
      from  e76cbccd6e645a7b098d602d6f2f460d0688f009 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f5acd54c99b0b0ada5b7180cd1cf865d9b7a2ca
commit 4f5acd54c99b0b0ada5b7180cd1cf865d9b7a2ca
Merge: e76cbcc 001043a
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Wed Dec 2 08:31:44 2015 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Wed Dec 2 08:31:44 2015 -0500

    Merge topic 'include-for-mode_t' into next
    
    001043ac Include `sys/types.h` header to get `mode_t`


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=001043ac3078c49651f6af0f1ff1b31ef71a7665
commit 001043ac3078c49651f6af0f1ff1b31ef71a7665
Author:     Kylie McClain <somasissou...@gmail.com>
AuthorDate: Wed Nov 25 18:12:06 2015 -0500
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Wed Dec 2 08:31:08 2015 -0500

    Include `sys/types.h` header to get `mode_t`
    
    Do not depend on it being included by other system headers.
    It is not included by others on musl-libc, for example.

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

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to