summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-19 14:03:25 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-19 14:03:25 (GMT)
commita833c24cebe193eb71bed11a6fe949525110dfd2 (patch)
tree7e57f28784f401475634b02cb83a1449e98d25cd /Source/kwsys/SystemInformation.cxx
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
parent43cb25764808b6a430b0497fe77eae4da5de2af7 (diff)
downloadCMake-a833c24cebe193eb71bed11a6fe949525110dfd2.zip
CMake-a833c24cebe193eb71bed11a6fe949525110dfd2.tar.gz
CMake-a833c24cebe193eb71bed11a6fe949525110dfd2.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2018-10-19 (c2f29d2e)
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 7545ec7..d368fa2 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -112,7 +112,8 @@ typedef int siginfo_t;
# endif
#endif
-#if defined(__linux) || defined(__sun) || defined(_SCO_DS)
+#if defined(__linux) || defined(__sun) || defined(_SCO_DS) || \
+ defined(__GLIBC__) || defined(__GNU__)
# include <netdb.h>
# include <netinet/in.h>
# include <sys/socket.h>