From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URjQu-0006PK-5q for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:26:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URjJw-0001Mq-Nr for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:20:19 -0400 Received: from mail-bk0-x233.google.com ([2a00:1450:4008:c01::233]:62539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URjJw-0001MT-FH for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:19:44 -0400 Received: by mail-bk0-f51.google.com with SMTP id y8so2333918bkt.24 for ; Mon, 15 Apr 2013 06:19:43 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 15 Apr 2013 15:19:23 +0200 Message-Id: <1366031973-7718-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1366031973-7718-1-git-send-email-pbonzini@redhat.com> References: <1366031973-7718-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 02/12] Add linux-headers to QEMU_INCLUDES List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jan Kiszka From: Jan Kiszka 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 Signed-off-by: Paolo Bonzini --- configure | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure b/configure index 73df181..258c82a 100755 --- a/configure +++ b/configure @@ -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) -- 1.8.1.4