]> git.eshelyaron.com Git - emacs.git/commitdiff
Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 20 Dec 2006 19:58:40 +0000 (19:58 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 20 Dec 2006 19:58:40 +0000 (19:58 +0000)
defined.

src/sound.c

index 6f8e3ecb308e678b1e49b9490ddd2053a9b9fad6..b6f5ff513eeba9a9e7b0b1033f069e58681fac59 100644 (file)
@@ -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 */