diff options
author | Stefan Krah <skrah@bytereef.org> | 2016-04-26 14:48:48 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2016-04-26 14:48:48 (GMT) |
commit | fa935c4727da6e34e42643fe54fe291e87f00ace (patch) | |
tree | 85a310fec344ade0f1a7cf38d196d3c3f2127913 /Modules/ossaudiodev.c | |
parent | 8d013a8d36ea1a9041548527bd6d33609de3d3fd (diff) | |
download | cpython-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.c | 4 |
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) |