summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-12 17:31:23 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-12 17:31:23 +0000
commit469cdfc504836ec2e6ac4cfc8cc0a388dac149a4 (patch)
tree4e4db87c9b33cb2b851f05865e148e231b1efcb0 /include
parent778e928992a8ba8334c34680e501f76d2ef2f868 (diff)
A few cleanups. Fix fflush so it remembers to init stdio.
Diffstat (limited to 'include')
-rw-r--r--include/features.h5
-rw-r--r--include/stdlib.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/include/features.h b/include/features.h
index 5a3a25e57..44a4f55ac 100644
--- a/include/features.h
+++ b/include/features.h
@@ -55,6 +55,11 @@
#define __USE_POSIX2
#define __USE_XOPEN
+#undef __KERNEL_STRICT_NAMES
+#ifndef _LOOSE_KERNEL_NAMES
+# define __KERNEL_STRICT_NAMES
+#endif
+
#include <sys/cdefs.h>
diff --git a/include/stdlib.h b/include/stdlib.h
index 581c8cce7..20261bdc1 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,11 +1,11 @@
/* stdlib.h */
+#ifndef __STDLIB_H
+#define __STDLIB_H
+
#include <features.h>
#include <sys/types.h>
#include <limits.h>
-#ifndef __STDLIB_H
-#define __STDLIB_H
-
/* Don't overwrite user definitions of NULL */
#ifndef NULL
#define NULL ((void *) 0)