diff options
| author | Ian Wilson <ian.a.wilson@rochester.edu> | 2011-09-08 19:41:53 -0400 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-09-12 00:16:31 +0200 |
| commit | 5dd2d189ada193841285d8c19ff998de9f1574d2 (patch) | |
| tree | c7b73815241b358881f93e1020cf814127cfd96e /src/base/system.c | |
| parent | ac929c036598bfd94c28b57cd924d66647512513 (diff) | |
| download | zcatch-5dd2d189ada193841285d8c19ff998de9f1574d2.tar.gz zcatch-5dd2d189ada193841285d8c19ff998de9f1574d2.zip | |
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.
Diffstat (limited to 'src/base/system.c')
| -rw-r--r-- | src/base/system.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <sys/filio.h> +#endif + #if defined(__cplusplus) extern "C" { #endif |