qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-kvm: fix pulseaudio detection in configure
@ 2011-04-29 15:59 Marc-Antoine Perennou
  2011-05-27  9:00 ` Marc-Antoine Perennou
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Marc-Antoine Perennou @ 2011-04-29 15:59 UTC (permalink / raw)
  To: qemu-devel

pulse/simple.h does not include stdlib.h
We cannot use NULL since it may not be defined
Use 0 instead

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index ea8b676..d67c3ce 100755
--- a/configure
+++ b/configure
@@ -1567,7 +1567,7 @@ for drv in $audio_drv_list; do

     pa)
     audio_drv_probe $drv pulse/simple.h "-lpulse-simple -lpulse" \
-        "pa_simple *s = NULL; pa_simple_free(s); return 0;"
+        "pa_simple *s = 0; pa_simple_free(s); return 0;"
     libs_softmmu="-lpulse -lpulse-simple $libs_softmmu"
     audio_pt_int="yes"
     ;;
-- 
1.7.5.52.ge839f.dirty

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-06-24 16:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-29 15:59 [Qemu-devel] [PATCH] qemu-kvm: fix pulseaudio detection in configure Marc-Antoine Perennou
2011-05-27  9:00 ` Marc-Antoine Perennou
2011-06-03 20:33 ` Aurelien Jarno
2011-06-03 21:57   ` malc
2011-06-03 22:17     ` Aurelien Jarno
2011-06-03 22:54       ` malc
2011-06-09 15:52         ` Marc-Antoine Perennou
2011-06-09 17:44           ` Andreas Färber
2011-06-09 19:07             ` Peter Maydell
2011-06-10  7:14               ` Markus Armbruster
2011-06-24 13:31                 ` Marc-Antoine Perennou
2011-06-24 16:52                   ` Stefan Hajnoczi
2011-06-09 18:25   ` Markus Armbruster
2011-06-24 14:49 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).