]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/asm-powerpc/seccomp.h
[PATCH] powerpc: sanitize header files for user space includes
[mirror_ubuntu-artful-kernel.git] / include / asm-powerpc / seccomp.h
index 1e1cfe12882b8017fff4b6b9a9f158784a02c0ff..cc8137b77b903d3fc27dd6c49741645e01b4038d 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _ASM_POWERPC_SECCOMP_H
+#define _ASM_POWERPC_SECCOMP_H
 
+#ifndef __KERNEL__
 #include <linux/thread_info.h>
+#endif
+
 #include <linux/unistd.h>
 
 #define __NR_seccomp_read __NR_read