summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-29 21:51:46 +0000
committerveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-29 21:51:46 +0000
commitbb2bdd9bca136495ab3a4b31755d58f97548f279 (patch)
treea76b56ac31831b1a6cee1059c3aad5cd2c7d78b3 /src
parent3fa3357e7646c4f60bedd5cd343f6abcb1a3cb6e (diff)
downloadhercules-bb2bdd9bca136495ab3a4b31755d58f97548f279.tar.gz
hercules-bb2bdd9bca136495ab3a4b31755d58f97548f279.tar.bz2
hercules-bb2bdd9bca136495ab3a4b31755d58f97548f279.tar.xz
hercules-bb2bdd9bca136495ab3a4b31755d58f97548f279.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1339 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index 130c33d0c..a78b71ad1 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -14,6 +14,10 @@
#include <netinet/in.h>
#endif
#include <time.h>
+// SO_REUSEPORT is predefined in FreeBSD in sys/socket.h so we only have to define if it's not
+#ifndef SO_REUSEPORT
+#define SO_REUSEPORT
+#endif
#include "malloc.h"