Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42a17ad2 authored by Ralf Baechle's avatar Ralf Baechle Committed by Linus Torvalds
Browse files

<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: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 613cbe3d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)