diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2013-04-10 10:29:47 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-15 15:16:22 +0200 |
commit | fd123245b98fd6e13d829878f25b30a9417f4bfc (patch) | |
tree | 7e74f8b14096e9f0cef5bc9cfce231509f1e8e91 | |
parent | bd2be1500337f0349f70802e4d8d43f5aca61477 (diff) |
Add linux-headers to QEMU_INCLUDES
virtio/dataplane/vring.c requires the Linux headers and is built for all
targets. So we need to add the corresponding include to QEMU_INCLUDES to
avoid that outdated distribution headers are used.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-x | configure | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -544,6 +544,7 @@ Haiku) if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then audio_possible_drivers="$audio_possible_drivers fmod" fi + QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES" ;; esac @@ -4227,10 +4228,6 @@ else fi includes="-I\$(SRC_PATH)/tcg $includes" -if test "$linux" = "yes" ; then - includes="-I\$(SRC_PATH)/linux-headers $includes" -fi - for i in $ARCH $TARGET_BASE_ARCH ; do case "$i" in alpha) |