seccomp: Don't include libseccomp from QEMU header
commita43415ebfd2fc9bfc56d9b566707c9d465b0e17b
authorFam Zheng <famz@redhat.com>
Wed, 20 Sep 2017 08:36:47 +0000 (20 16:36 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Sep 2017 08:48:33 +0000 (22 09:48 +0100)
tree51e8709761be9f6859622a571f394fb306339438
parent0a8066f0c068f1e318a1aacd7864fc00e455a37b
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 <jan.kiszka@siemens.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Acked-by: Eduardo Otubo <otubo@redhat.com>
Message-id: 20170920083647.14599-1-famz@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/sysemu/seccomp.h