abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit eabb140a3868f9f8869248c4d047d57eb64b9b5f
parent 5b503c838f7d5cd278110db7411adeeab27b50f4
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 16 Oct 2014 21:24:51 +0200

Use _POSIX_C_SOURCE and _XOPEN_SOURCE instead of _GNU_SOURCE

Diffstat:
abduco.c | 1+
config.mk | 3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/abduco.c b/abduco.c @@ -28,6 +28,7 @@ #include <termios.h> #include <time.h> #include <unistd.h> +#include <sys/select.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/types.h> diff --git a/config.mk b/config.mk @@ -15,7 +15,8 @@ LIBS = -lc -lutil # Solaris #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} DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall