X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/7cf822a64f5e28285b961bd75693ad9a7f63e47e..661da3eec49401ca2c1c81b7f4a84a66fa0c9f1b:/Makefile diff --git a/Makefile b/Makefile index 8ac1656..eea166c 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,10 @@ DEFINES += -DSTATISTICS DEFINES += -DSTAT_CALLS DEFINES += -DRINGBUFFER +ifneq (2.4, $(shell uname -r | perl -pe 's/^(\d+\.\d+).*/$$1/')) + DEFINES += -DHAVE_EPOLL +endif + DEFINES += -DBGP OBJS += bgp.o