[hackers] [utmp] Define correct _XOPEN_SOURCE for setenv || Roberto E. Vargas Caballero
commit 694c4dd18eb755266cf1e18d3620ddc66ea5b063
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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
_AT_@ -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
Received on Sun Mar 15 2015 - 08:18:37 CET
This archive was generated by hypermail 2.3.0
: Sun Mar 15 2015 - 08:24:09 CET