From bb2bdd9bca136495ab3a4b31755d58f97548f279 Mon Sep 17 00:00:00 2001 From: veider Date: Tue, 29 Mar 2005 21:51:46 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1339 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/socket.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') 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 #endif #include +// 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" -- cgit v1.2.3-70-g09d2