diff --git a/configure b/configure index 13fc5049..96b6b90a 100755 --- a/configure +++ b/configure @@ -206,7 +206,6 @@ fi case "$OS" in linux) - echo "CPPFLAGS += -D_XOPEN_SOURCE=700" >>$CONFIG_MK echo "CPPFLAGS += -D_FILE_OFFSET_BITS=64" >> $CONFIG_MK ;; *) diff --git a/include/xbps.h.in b/include/xbps.h.in index b2def2e6..a0091d48 100644 --- a/include/xbps.h.in +++ b/include/xbps.h.in @@ -27,7 +27,7 @@ #ifndef _XBPS_API_H_ #define _XBPS_API_H_ -#define _XOPEN_SOURCE 600 /* required by PATH_MAX et al */ +#define _XOPEN_SOURCE 700 /* required by PATH_MAX et al */ #include #include