summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-20 19:40:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-20 19:40:42 +0000
commit1b2ddaae027925843a393837f56f6d9e76d6b968 (patch)
treed9e1a2a60fe2335e1cc6fb19c1f930cb38145bc4 /libc
parent6dd7cf3090e2042cd7fab3e8925cc75b640b2b3f (diff)
Oops. Lets try that again.
Diffstat (limited to 'libc')
-rw-r--r--libc/unistd/sysconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index 53d991f8a..66b40aa03 100644
--- a/libc/unistd/sysconf.c
+++ b/libc/unistd/sysconf.c
@@ -16,6 +16,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define _XOPEN_SOURCE 500
#include <features.h>
#include <errno.h>
#include <limits.h>
@@ -23,6 +24,7 @@
#include <pwd.h>
#include <stddef.h>
#include <stdio.h>
+#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <sys/sysinfo.h>