openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1, so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
Cc: qemu-sta...@nongnu.org Signed-off-by: Andreas Färber <afaer...@suse.de> --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 21438d4..643153f 100755 --- a/configure +++ b/configure @@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz" if test "$seccomp" != "no" ; then if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" + QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" seccomp="yes" else if test "$seccomp" = "yes"; then -- 1.8.1.4