Fix linux builds
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1340 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7a6ae3f0e6
commit
c8d5eb58c4
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ CC = gcc -pipe
|
||||
GCLIB =
|
||||
# GCLIB = -ldmalloc
|
||||
|
||||
PACKETDEF = -DPACKETVER=6 -DNEW_006b
|
||||
PACKETDEF = -DPACKETVER=6 -DNEW_006b -DSO_REUSEPORT
|
||||
#PACKETDEF = -DPACKETVER=5 -DNEW_006b
|
||||
#PACKETDEF = -DPACKETVER=4 -DNEW_006b
|
||||
#PACKETDEF = -DPACKETVER=3 -DNEW_006b
|
||||
|
@ -14,11 +14,6 @@
|
||||
#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"
|
||||
|
||||
extern time_t tick_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user