aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Van Rooy <woutervanrooy@gmail.com>2012-06-03 16:20:54 +0200
committerWouter Van Rooy <woutervanrooy@gmail.com>2012-06-03 16:20:54 +0200
commit8046ab9a79b007ef5094cc7afe20bfb33a96724a (patch)
tree4387ca5a2847b78c7111d9fb605cfa73fb8b090b
parent9bc3d95d943f2c2543c7188c2565e7e02ba51ff1 (diff)
Solve the undeclared readlink warning.
readlink is not provided in c99 unistd.h but it is in gnu99.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 38f51f5..af73944 100644
--- a/config.mk
+++ b/config.mk
@@ -36,7 +36,7 @@ INCS = -I. -I/usr/include ${GTKINC}
LIBS = -L/usr/lib -lc ${GTKLIB}
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -mtune=native -std=c99 -O3 ${INCS} ${CPPFLAGS}
+CFLAGS = -mtune=native -std=gnu99 -O3 ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# Solaris