[hackers] [utmp] Define _XOPEN_SOURCE=500 in posix mode || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sun, 22 Feb 2015 17:47:31 +0100 (CET)

commit 81d0a50c7392fc4c985b0e71e708ccdd3815441a
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Sun Feb 22 16:28:42 2015 +0000

    Define _XOPEN_SOURCE=500 in posix mode
    
    utmpx interface is well defined only when _XOPEN_SOURCE=500

diff --git a/config.posix b/config.posix
index 8d8c8c1..b4df3eb 100644
--- a/config.posix
+++ b/config.posix
_AT_@ -7,7 +7,7 @@ PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
 
 # flags
-CPPFLAGS += -DVERSION=\"${VERSION}\"
+CPPFLAGS += -D_XOPEN_SOURCE=500 -DVERSION=\"${VERSION}\"
 
 # Objects
 
Received on Sun Feb 22 2015 - 17:47:31 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 22 2015 - 17:48:11 CET