summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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)