changeset 74775:62968fe3ddad

Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is defined.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 20 Dec 2006 19:58:40 +0000
parents 3ecc464eb15c
children d726a8475349
files src/sound.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sound.c	Wed Dec 20 19:57:39 2006 +0000
+++ b/src/sound.c	Wed Dec 20 19:58:40 2006 +0000
@@ -74,8 +74,12 @@
 #include <soundcard.h>
 #endif
 #ifdef HAVE_ALSA
+#ifdef ALSA_SUBDIR_INCLUDE
+#include <alsa/asoundlib.h>
+#else
 #include <asoundlib.h>
-#endif
+#endif /* ALSA_SUBDIR_INCLUDE */
+#endif /* HAVE_ALSA */
 
 /* END: Non Windows Includes */