aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-07-24 14:32:47 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-07-24 14:32:47 +1000
commit3d0614ce9d067135ec75433a4649c555afa1b776 (patch)
treef79cf32b076c2754ce8e35e940cf545b04d76c9e /include/uapi
parent9f6674cef7499dae038a0b2e2f556f1f99647372 (diff)
parent7f004d4884d4b78c6ac68cc6cd6a105f21ed047b (diff)
Merge branch 'akpm-current/current'
Diffstat (limited to 'include/uapi')
-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