From 5dd2d189ada193841285d8c19ff998de9f1574d2 Mon Sep 17 00:00:00 2001 From: Ian Wilson Date: Thu, 8 Sep 2011 19:41:53 -0400 Subject: Fixes for compiling with Solaris kernel. Fixed typo in CONF_PLATFORM_SOLARIS. Made sure that we don't try to use the gcc endianness for Solaris. Included sys/filio.h for Solaris so that FIONBIO is defined. Added linking flags -lsocket and -lnsl for Solaris in bam. --- src/base/system.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/base/system.c') diff --git a/src/base/system.c b/src/base/system.c index e451cb9a..6dc8cc7d 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -46,6 +46,10 @@ #error NOT IMPLEMENTED #endif +#if defined(CONF_PLATFORM_SOLARIS) + #include +#endif + #if defined(__cplusplus) extern "C" { #endif -- cgit 1.4.1