diff --git a/Makefile b/Makefile index 07d7a54b28..65b191e504 100644 --- a/Makefile +++ b/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 diff --git a/src/common/socket.h b/src/common/socket.h index a78b71ad12..6793cfdb57 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -14,11 +14,6 @@ #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" extern time_t tick_;