utmp

simple login manager
git clone git://git.suckless.org/utmp
Log | Files | Refs | README | LICENSE

commit 694c4dd18eb755266cf1e18d3620ddc66ea5b063
parent 8fcc4a561cbdbfb4bf67a2b3f7574d35b7c10e49
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:
Mconfig.bsd | 2+-
Mconfig.posix | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

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 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