Define correct _XOPEN_SOURCE for setenv - utmp - simple login manager
HTML git clone git://git.suckless.org/utmp
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 694c4dd18eb755266cf1e18d3620ddc66ea5b063
DIR parent 8fcc4a561cbdbfb4bf67a2b3f7574d35b7c10e49
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 15 Mar 2015 07:17:16 +0000
Define correct _XOPEN_SOURCE for setenv
setenv is defined when _XOPEN_SOURCE is bigger than 600.
Diffstat:
M config.bsd | 2 +-
M config.posix | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git 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
DIR diff --git 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