summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 13:08:54 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 13:08:54 +0000
commit593b12ed67cf27b69563afd2d12752c7ebfee683 (patch)
tree5c7c850f6950104e7e5aafa300035744fded470c /src/common/socket.c
parent1b008a629ddb633d91a70e2c037924fab10e2d6c (diff)
downloadhercules-593b12ed67cf27b69563afd2d12752c7ebfee683.tar.gz
hercules-593b12ed67cf27b69563afd2d12752c7ebfee683.tar.bz2
hercules-593b12ed67cf27b69563afd2d12752c7ebfee683.tar.xz
hercules-593b12ed67cf27b69563afd2d12752c7ebfee683.zip
* Added some of Shinomori's fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index dfeebf03a..0f5b53550 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -17,6 +17,11 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <errno.h>
+
+#ifndef SIOCGIFCONF
+#include <sys/sockio.h> // SIOCGIFCONF on Solaris, maybe others? [Shinomori]
+#endif
+
#endif
#include <fcntl.h>