summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-12 22:01:45 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-12 22:01:45 +0000
commita0383842abeb49c65c05832b51161dfaecc67fcb (patch)
tree489e6049329c2faa8e53d778abdd34369dd84a5a /src
parent9349df4e5fa122fd74d632d4227f8c1a1f32c36d (diff)
downloadhercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.gz
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.bz2
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.xz
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.zip
* CMake: added search for math.h, added search for socket/nsl library. (tested with Solaris-201011-x86)
* Added missing include to socket.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14903 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 81ea19468..84cbaf1ea 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -32,6 +32,9 @@
#ifndef SIOCGIFCONF
#include <sys/sockio.h> // SIOCGIFCONF on Solaris, maybe others? [Shinomori]
#endif
+ #ifndef FIONBIO
+ #include <sys/filio.h> // FIONBIO on Solaris [FlavioJS]
+ #endif
#ifdef HAVE_SETRLIMIT
#include <sys/resource.h>