summaryrefslogtreecommitdiffstats
path: root/Modules/ossaudiodev.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-04-26 14:48:48 (GMT)
committerStefan Krah <skrah@bytereef.org>2016-04-26 14:48:48 (GMT)
commitfa935c4727da6e34e42643fe54fe291e87f00ace (patch)
tree85a310fec344ade0f1a7cf38d196d3c3f2127913 /Modules/ossaudiodev.c
parent8d013a8d36ea1a9041548527bd6d33609de3d3fd (diff)
downloadcpython-fa935c4727da6e34e42643fe54fe291e87f00ace.zip
cpython-fa935c4727da6e34e42643fe54fe291e87f00ace.tar.gz
cpython-fa935c4727da6e34e42643fe54fe291e87f00ace.tar.bz2
Issue #26854: Android has a different include path for soundcard.h.
Diffstat (limited to 'Modules/ossaudiodev.c')
-rw-r--r--Modules/ossaudiodev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index d2fd5c8..2b7d71f 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -31,7 +31,11 @@
#endif
#include <sys/ioctl.h>
+#ifdef __ANDROID__
+#include <linux/soundcard.h>
+#else
#include <sys/soundcard.h>
+#endif
#if defined(linux)