summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/seccomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/seccomp.h')
-rw-r--r--include/asm-powerpc/seccomp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/seccomp.h b/include/asm-powerpc/seccomp.h
index 1e1cfe12882..853765eb1f6 100644
--- a/include/asm-powerpc/seccomp.h
+++ b/include/asm-powerpc/seccomp.h
@@ -1,6 +1,10 @@
#ifndef _ASM_POWERPC_SECCOMP_H
+#define _ASM_POWERPC_SECCOMP_H
+#ifdef __KERNEL__
#include <linux/thread_info.h>
+#endif
+
#include <linux/unistd.h>
#define __NR_seccomp_read __NR_read