commit 81d0a50c7392fc4c985b0e71e708ccdd3815441a
Author: Roberto E. Vargas Caballero <[email protected]>
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
@@ -7,7 +7,7 @@ PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
 
 # flags
-CPPFLAGS += -DVERSION=\"${VERSION}\"
+CPPFLAGS += -D_XOPEN_SOURCE=500 -DVERSION=\"${VERSION}\"
 
 # Objects
 

Reply via email to