summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-01-17 07:21:15 +0100
committerChristoph Lohmann <20h@r-36.net>2015-01-17 07:21:15 +0100
commita5b85836ac04a82f965a9d7fb2a011d614166610 (patch)
treef3e695a3fac55b78029af424916a1b3ce6a34a38
parentc2da2bae5dbca73f26fe77bb8080e2a90d3cbb1d (diff)
downloadsurf-a5b85836ac04a82f965a9d7fb2a011d614166610.tar.gz
surf-a5b85836ac04a82f965a9d7fb2a011d614166610.tar.bz2
surf-a5b85836ac04a82f965a9d7fb2a011d614166610.zip
Newer libc want _DEFAULT_SOURCE.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index b7a902f..e49fa24 100644
--- a/config.mk
+++ b/config.mk
@@ -18,7 +18,7 @@ INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}