From: Fam Zheng Date: Wed, 20 Sep 2017 08:36:47 +0000 (+0800) Subject: seccomp: Don't include libseccomp from QEMU header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a43415ebfd2fc9bfc56d9b566707c9d465b0e17b;p=qemu.git seccomp: Don't include libseccomp from QEMU header The only prototype doesn't need anything from the lib header, and not including it here allows files that include this header, for example vl.c, to compile without the libseccomp cflags. The breakage is since c3883e1f93 for environments where `pkg-config --cflags libseccomp" is non-empty. Reported-by: Jan Kiszka Signed-off-by: Fam Zheng Acked-by: Eduardo Otubo Message-id: 20170920083647.14599-1-famz@redhat.com Signed-off-by: Peter Maydell --- diff --git a/include/sysemu/seccomp.h b/include/sysemu/seccomp.h index e67c2dc840..9b092aa23f 100644 --- a/include/sysemu/seccomp.h +++ b/include/sysemu/seccomp.h @@ -21,7 +21,5 @@ #define QEMU_SECCOMP_SET_SPAWN (1 << 3) #define QEMU_SECCOMP_SET_RESOURCECTL (1 << 4) -#include - int seccomp_start(uint32_t seccomp_opts); #endif