From 2ce319a603631a6841d5efa2ec33b27fae8ca8be Mon Sep 17 00:00:00 2001
From: Patrick Welche <prlw1@cam.ac.uk>
Date: Thu, 28 Jul 2016 17:26:10 +0100
Subject: [PATCH] SystemInformation: Treat Solaris the same as Linux

Take changes used by pkgsrc [1].

[1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/

Change-Id: I3b035ad1835755548250b67e2a7cbadaaf6a4657
---
 SystemInformation.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index a0c01f82..56a635a6 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -114,7 +114,7 @@ typedef int siginfo_t;
 # endif
 #endif
 
-#ifdef __linux
+#if defined(__linux) || defined (__sun) || defined(_SCO_DS)
 # include <fenv.h>
 # include <sys/socket.h>
 # include <netdb.h>
-- 
GitLab