commit 694c4dd18eb755266cf1e18d3620ddc66ea5b063
Author: Roberto E. Vargas Caballero <[email protected]>
Date:   Sun Mar 15 07:17:16 2015 +0000

    Define correct _XOPEN_SOURCE for setenv
    
    setenv is defined when _XOPEN_SOURCE is bigger than 600.

diff --git a/config.bsd b/config.bsd
index 86a49c0..bb65308 100644
--- a/config.bsd
+++ b/config.bsd
@@ -7,7 +7,7 @@ PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
 
 # flags
-CPPFLAGS += -DVERSION=\"${VERSION}\"
+CPPFLAGS += -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
 LDLIBS   += -lutil
 
 # Objects
diff --git a/config.posix b/config.posix
index b4df3eb..e9b3e68 100644
--- a/config.posix
+++ b/config.posix
@@ -7,7 +7,7 @@ PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
 
 # flags
-CPPFLAGS += -D_XOPEN_SOURCE=500 -DVERSION=\"${VERSION}\"
+CPPFLAGS += -D_XOPEN_SOURCE=600 -DVERSION=\"${VERSION}\"
 
 # Objects
 

Reply via email to