summaryrefslogtreecommitdiff
path: root/src/sound.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-12-20 19:58:40 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-12-20 19:58:40 +0000
commit1d30a597a7e60412532bfaf0f48b10570a1355e3 (patch)
tree6a0370d48742464d9f23d81d4603352a2394e64f /src/sound.c
parentca81d7a00a2afe7a9be57ec5fbe229c19dd32125 (diff)
downloademacs-1d30a597a7e60412532bfaf0f48b10570a1355e3.tar.gz
Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
defined.
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c
index 6f8e3ecb308..b6f5ff513ee 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -74,8 +74,12 @@ Boston, MA 02110-1301, USA. */
#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 */