termux-packages/packages/sox/src-formats.c.patch

14 lines
216 B
Diff

--- a/src/formats.c
+++ b/src/formats.c
@@ -29,6 +29,10 @@
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef __ANDROID__
+ #include <bits/struct_file.h>
+#endif
+
#ifdef HAVE_IO_H
#include <io.h>
#endif