Re: [Qemu-devel] [PATCH] seccomp: Don't include libseccomp from QEMU header

2017-09-22 Thread Peter Maydell
On 22 September 2017 at 08:54, Eduardo Otubo wrote: > On Fri, Sep 22, 2017 at 09:09:27AM +0200, Jan Kiszka wrote: >> On 2017-09-20 10:36, Fam Zheng wrote: >> > The only prototype doesn't need anything from the lib header, and not >> > including it here allows files that include

Re: [Qemu-devel] [PATCH] seccomp: Don't include libseccomp from QEMU header

2017-09-22 Thread Eduardo Otubo
On Fri, Sep 22, 2017 at 09:09:27AM +0200, Jan Kiszka wrote: > On 2017-09-20 10:36, Fam Zheng wrote: > > 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.

Re: [Qemu-devel] [PATCH] seccomp: Don't include libseccomp from QEMU header

2017-09-22 Thread Jan Kiszka
On 2017-09-20 10:36, Fam Zheng wrote: > 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

[Qemu-devel] [PATCH] seccomp: Don't include libseccomp from QEMU header

2017-09-20 Thread Fam Zheng
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.