aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-06-02 00:58:55 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2013-06-02 00:58:55 +0100
commit41a94dd69dcbb5d4ef1fda5949196fed63994c03 (patch)
tree6a4a15c8aa6fad9e4546f2bf0289c7a26fe89a74
parentaed00f8ea574486594dd58916da5ef079771b309 (diff)
Define _GNU_SOURCE via the command line instead of bitlbee.h (which doesn't
get included everywhere). Debian #703550.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 10d7c1bd..1e3a2421 100755
--- a/configure
+++ b/configure
@@ -210,7 +210,7 @@ fi
echo CFLAGS=$CFLAGS $CPPFLAGS >> Makefile.settings
echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings
-echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
+echo CFLAGS+=-DHAVE_CONFIG_H -D_GNU_SOURCE >> Makefile.settings
if [ -n "$CC" ]; then
CC=$CC