From d6700c5d1ff56333801afff6a017cc86363f2401 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Mon, 31 Aug 2015 00:10:33 +0200 Subject: [PATCH] _XOPEN_SOURCE=600 instead of _POSIX_C_SOURCE=200112L --- miniupnpc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile index ca57dfa..00c9092 100644 --- a/miniupnpc/Makefile +++ b/miniupnpc/Makefile @@ -35,7 +35,9 @@ CFLAGS += -W -Wstrict-prototypes CFLAGS += -fno-common CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT CFLAGS += -DMINIUPNPC_GET_SRC_ADDR -CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L +CFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE +#CFLAGS += -D_POSIX_C_SOURCE=200112L +CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += -ansi # -DNO_GETADDRINFO INSTALL = install