summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index b01c79bb2c6a..26572649082b 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -25,7 +25,9 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
+#ifdef __KERNEL__
#include <linux/atomic.h>
+#endif
struct completion;