chiark / gitweb /
@@ -1,3 +1,9 @@
[authbind.git] / Makefile
index c4622982435e7458aa2017d294239192e62c28b6..8c6e90c1a39a14e1e176b260cd218538709d24b7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ CFLAGS=               -g $(OPTIMISE) \
                -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
 CPPFLAGS=      -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \
                -DLIBAUTHBIND='"$(lib_dir)/$(LIBCANON)"' \
-               -DHELPER='"$(lib_dir)/helper"' -DCONFIGDIR='"$(etc_dir)"'
+               -DHELPER='"$(lib_dir)/helper"' -DCONFIGDIR='"$(etc_dir)"' \
+               -D_GNU_SOURCE
 
 MAJOR=1
 MINOR=0