aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-03-14 08:43:57 +0100
committerChristoph Lohmann <20h@r-36.net>2015-03-14 08:43:57 +0100
commit72d2accc2299cdda9379db17ed62e8e5df5a9426 (patch)
treef8aac2205f37e14909b7aba483159b5b7bde942c
parent2fcfea1bf149f839cdbcba5c1efc7c4ce31f6d95 (diff)
downloadst-72d2accc2299cdda9379db17ed62e8e5df5a9426.tar.gz
st-72d2accc2299cdda9379db17ed62e8e5df5a9426.tar.bz2
st-72d2accc2299cdda9379db17ed62e8e5df5a9426.zip
Glibc wants me to use _DEFAULT_SOURCe. I do obey.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 46457f7..7ae510e 100644
--- a/config.mk
+++ b/config.mk
@@ -19,7 +19,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
`pkg-config --libs freetype2`
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
LDFLAGS += -g ${LIBS}