summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-18 14:57:35 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-19 14:44:59 (GMT)
commitb13a74b35b17ecb44ec6ff552ecb1cbdac204361 (patch)
tree7b85605b75f98374cee8487bf790f429f206369f /Source/cmSystemTools.cxx
parenta5a5a6857241c21d306661d723b749839f4c6e1a (diff)
downloadCMake-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.cxx3
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)