]> granicus.if.org Git - python/commitdiff
Issue #26854: Android has a different include path for soundcard.h.
authorStefan Krah <skrah@bytereef.org>
Tue, 26 Apr 2016 14:48:48 +0000 (16:48 +0200)
committerStefan Krah <skrah@bytereef.org>
Tue, 26 Apr 2016 14:48:48 +0000 (16:48 +0200)
Modules/ossaudiodev.c

index d2fd5c81d1bee3eb3c0e06c24c0956ecef20021b..2b7d71f64f1927a8ef0ff31b34af4a806fd05667 100644 (file)
 #endif
 
 #include <sys/ioctl.h>
+#ifdef __ANDROID__
+#include <linux/soundcard.h>
+#else
 #include <sys/soundcard.h>
+#endif
 
 #if defined(linux)