OSDN Git Service

Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
authorEric Andersen <andersen@codepoet.org>
Sun, 14 Oct 2001 04:50:39 +0000 (04:50 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 14 Oct 2001 04:50:39 +0000 (04:50 -0000)
supposed to be a number

libc/unistd/sysconf.c

index 92fa427..1ed2a4c 100644 (file)
@@ -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>