瀏覽代碼

Oops. Lets try that again.

Eric Andersen 22 年之前
父節點
當前提交
1b2ddaae02
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      libc/unistd/sysconf.c

+ 2 - 0
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>