Browse Source

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

Eric Andersen 22 years ago
parent
commit
245b25a3d1
1 changed files with 2 additions and 1 deletions
  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>