summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/std.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/nolibc/std.h')
-rw-r--r--tools/include/nolibc/std.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/include/nolibc/std.h b/tools/include/nolibc/std.h
index 933bc0be7e1c..adda7333d12e 100644
--- a/tools/include/nolibc/std.h
+++ b/tools/include/nolibc/std.h
@@ -13,12 +13,8 @@
* syscall-specific stuff, as this file is expected to be included very early.
*/
-/* note: may already be defined */
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
#include "stdint.h"
+#include "stddef.h"
/* those are commonly provided by sys/types.h */
typedef unsigned int dev_t;