diff options
author | Brad King <brad.king@kitware.com> | 2016-02-18 09:57:35 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-02-19 09:44:59 -0500 |
commit | b13a74b35b17ecb44ec6ff552ecb1cbdac204361 (patch) | |
tree | 7b85605b75f98374cee8487bf790f429f206369f /Source/cmSystemTools.cxx | |
parent | a5a5a6857241c21d306661d723b749839f4c6e1a (diff) | |
download | cmake-b13a74b35b17ecb44ec6ff552ecb1cbdac204361.tar.gz |
cmSystemTools: Remove unused include <fcntl.h>
We do not seem to need this header anymore, and including it on AIX
causes `#define open open64` which breaks `std::ifstream::open` calls.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 3ba72876c3..c9670faf08 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -60,8 +60,7 @@ #endif #if defined(CMAKE_BUILD_WITH_CMAKE) -# include <fcntl.h> -# include "cmCryptoHash.h" +# include "cmCryptoHash.h" #endif #if defined(CMAKE_USE_ELF_PARSER) |