summaryrefslogtreecommitdiff
path: root/Libraries/LibC
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibC')
-rw-r--r--Libraries/LibC/stddef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibC/stddef.h b/Libraries/LibC/stddef.h
index 73f82c1489..e8d5c8fbde 100644
--- a/Libraries/LibC/stddef.h
+++ b/Libraries/LibC/stddef.h
@@ -1,5 +1,7 @@
#pragma once
+#ifndef KERNEL
+
#include <sys/cdefs.h>
#include <sys/types.h>
@@ -11,3 +13,5 @@
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
+
+#endif