summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-03 17:01:54 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-03 17:03:03 (GMT)
commita67fd7265978a3d8e0565671da651ddfdc6b6e98 (patch)
treee10249a04133afc6df55303a903ce8739a0b4638 /Source/kwsys/SystemInformation.cxx
parentedff9207ed82d241077d66b20087657f74e8b5b9 (diff)
downloadCMake-a67fd7265978a3d8e0565671da651ddfdc6b6e98.zip
CMake-a67fd7265978a3d8e0565671da651ddfdc6b6e98.tar.gz
CMake-a67fd7265978a3d8e0565671da651ddfdc6b6e98.tar.bz2
KWSys: Remove useless include <sys/procfs.h> (#11648)
The header was included only under "#ifdef __linux", but not all Linux distributions provide the header. SystemInformation uses no symbols from this header, so do not include it.
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index d727b32..f871075 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -66,7 +66,6 @@
#endif
#ifdef __linux
-# include <sys/procfs.h>
# include <sys/types.h>
# include <unistd.h>
# include <fcntl.h>