X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/686d880172e3038a7dfd8ea81c7c05539a5ad18a..2f4435f0a697bee400317200bbe3fbcaeb83383e:/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