Explorar o código

Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
supposed to be a number

Eric Andersen %!s(int64=22) %!d(string=hai) anos
pai
achega
245b25a3d1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      libc/unistd/sysconf.c

+ 2 - 1
libc/unistd/sysconf.c

@@ -16,7 +16,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE	500
+#include <features.h>
 #include <errno.h>
 #include <limits.h>
 #include <grp.h>