aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/kiss-readlink.c1
-rw-r--r--config.mk1
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/kiss-readlink.c b/bin/kiss-readlink.c
index 825b74d..e65c0d9 100644
--- a/bin/kiss-readlink.c
+++ b/bin/kiss-readlink.c
@@ -9,7 +9,6 @@
#include <string.h>
#include <limits.h>
-#define _XOPEN_SOURCE 700
char *realpath(const char *path, char *resolved_path);
diff --git a/config.mk b/config.mk
index 0cc3f5b..316594b 100644
--- a/config.mk
+++ b/config.mk
@@ -11,6 +11,7 @@ MAN1 = ${MANPREFIX}/man1
# Flags
CFLAGS = -std=c99 -Wpedantic -Wall -Os
+CFLAGS += -D_XOPEN_SOURCE=700
LDFLAGS = -s -static
LIBS = -lc