summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-14 04:50:39 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-14 04:50:39 +0000
commit245b25a3d140d868c5b3442abfeb5e547e6fbd07 (patch)
treeffc317bd214a1489a6f5daa1e9e8c90d0bb7a6c9 /libc
parent2f1259d91c27142ce7a4d3a0d66ec5b62db0250c (diff)
Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
supposed to be a number
Diffstat (limited to 'libc')
-rw-r--r--libc/unistd/sysconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index 92fa42765..1ed2a4c0c 100644
--- a/libc/unistd/sysconf.c
+++ b/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>