From 18310b2c9c08bb0890009886805d11a35f402dba Mon Sep 17 00:00:00 2001
From: Alon Levy <alevy@redhat.com>
Date: Sun, 18 Mar 2012 12:17:45 +0100
Subject: [PATCH 2/9] configure: fix rhel-6 only configure break on
 audio_drv_probe for pa

RH-Author: Alon Levy <alevy@redhat.com>
Message-id: <1332073072-27934-2-git-send-email-alevy@redhat.com>
Patchwork-id: 38599
O-Subject: [PATCHv2 RHEL-6.3 qemu-kvm 1/8] configure: fix rhel-6 only configure break on audio_drv_probe for pa
Bugzilla: 747011
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
RH-Acked-by: Hans de Goede <hdegoede@redhat.com>
RH-Acked-by: Yonit Halperin <yhalperi@redhat.com>

---
 configure |    1 +
 1 file changed, 1 insertion(+)

Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index bde9684..f7c02e6 100755
--- a/configure
+++ b/configure
@@ -1287,6 +1287,7 @@ audio_drv_probe()
     exp=$4
     cfl=$5
         cat > $TMPC << EOF
+#include <unistd.h>
 #include <$hdr>
 int main(void) { $exp }
 EOF
-- 
1.7.7.6

