Commit 42a17ad2762f465d291c3bc0b6ed2b3738f65481

Authored by Ralf Baechle
Committed by Linus Torvalds
1 parent 613cbe3d48

<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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

include/linux/seccomp.h
... ... @@ -21,6 +21,8 @@
21 21  
22 22 #else /* CONFIG_SECCOMP */
23 23  
  24 +#include <linux/errno.h>
  25 +
24 26 typedef struct { } seccomp_t;
25 27  
26 28 #define secure_computing(x) do { } while (0)