From: Christoph Lohmann <20h@r-36.net>
Date: Sat, 14 Mar 2015 07:43:57 +0000 (+0100)
Subject: Glibc wants me to use _DEFAULT_SOURCe. I do obey.
X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=72d2accc2299cdda9379db17ed62e8e5df5a9426;p=st.git

Glibc wants me to use _DEFAULT_SOURCe. I do obey.
---

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}