diff options
author | Brad King <brad.king@kitware.com> | 2016-02-18 14:57:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-02-19 14:44:59 (GMT) |
commit | b13a74b35b17ecb44ec6ff552ecb1cbdac204361 (patch) | |
tree | 7b85605b75f98374cee8487bf790f429f206369f /Source/cmSystemTools.cxx | |
parent | a5a5a6857241c21d306661d723b749839f4c6e1a (diff) | |
download | CMake-b13a74b35b17ecb44ec6ff552ecb1cbdac204361.zip CMake-b13a74b35b17ecb44ec6ff552ecb1cbdac204361.tar.gz CMake-b13a74b35b17ecb44ec6ff552ecb1cbdac204361.tar.bz2 |
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 3ba7287..c9670fa 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) |