aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/sysctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/sysctl.h')
-rw-r--r--include/uapi/linux/sysctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
index e13d48058b8d..c6602bdd2a10 100644
--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
@@ -26,6 +26,10 @@
#include <linux/types.h>
#include <linux/compiler.h>
+#ifndef __KERNEL__
+#include <stddef.h> /* For size_t. */
+#endif
+
#define CTL_MAXNAME 10 /* how many path components do we allow in a
call to sysctl? In other words, what is
the largest acceptable value for the nlen