forked from github/abduco
Use _POSIX_C_SOURCE and _XOPEN_SOURCE instead of _GNU_SOURCE
This commit is contained in:
parent
5b503c838f
commit
eabb140a38
1
abduco.c
1
abduco.c
|
|
@ -28,6 +28,7 @@
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <sys/select.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ LIBS = -lc -lutil
|
||||||
# Solaris
|
# Solaris
|
||||||
#LIBS = -lc -lsocket
|
#LIBS = -lc -lsocket
|
||||||
|
|
||||||
CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_GNU_SOURCE
|
CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
|
||||||
|
|
||||||
LDFLAGS += ${LIBS}
|
LDFLAGS += ${LIBS}
|
||||||
|
|
||||||
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
|
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue