diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile index 8764a8ffe766..277d9948eef3 100644 --- a/x11/wmenu/Makefile +++ b/x11/wmenu/Makefile @@ -29,4 +29,10 @@ LDFLAGS+= `pkg-config --libs epoll-shim` PLIST_FILES= bin/wmenu \ man/man1/wmenu.1.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097 +CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE +.endif + .include