diff --git a/configure b/configure index 136d9ecf1d06c885a21b2b71ed8fc15afd031edd..0a2226bb7e40761a73cf7d9a727d4a9a30272d15 100755 --- a/configure +++ b/configure @@ -1891,7 +1891,7 @@ for drv in $audio_drv_list; do case $drv in alsa) audio_drv_probe $drv alsa/asoundlib.h -lasound \ - "snd_pcm_t **handle; return snd_pcm_close(*handle);" + "return snd_pcm_close((snd_pcm_t *)0);" libs_softmmu="-lasound $libs_softmmu" ;;