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