diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-04-18 11:30:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-19 10:47:45 -0700 |
commit | 42a17ad2762f465d291c3bc0b6ed2b3738f65481 (patch) | |
tree | f3a733a403f35c2c68e5ce021974c2051d230bdf | |
parent | 613cbe3d4870429bf2e816d4bbe3146d157ee5c1 (diff) | |
download | linux-3.10-42a17ad2762f465d291c3bc0b6ed2b3738f65481.tar.gz linux-3.10-42a17ad2762f465d291c3bc0b6ed2b3738f65481.tar.bz2 linux-3.10-42a17ad2762f465d291c3bc0b6ed2b3738f65481.zip |
<linux/seccomp.h> needs to include <linux/errno.h>.
<linux/seccomp.h> uses EINVAL so should include <linux/errno.h>. This
fixes a build error on 64-bit MIPS if CONFIG_SECCOMP is disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/seccomp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index 262a8dccfa8..167c33361d9 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -21,6 +21,8 @@ extern long prctl_set_seccomp(unsigned long); #else /* CONFIG_SECCOMP */ +#include <linux/errno.h> + typedef struct { } seccomp_t; #define secure_computing(x) do { } while (0) |