aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/adb/patches/003-fix-musl-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/adb/patches/003-fix-musl-build.patch')
-rw-r--r--package/utils/adb/patches/003-fix-musl-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/utils/adb/patches/003-fix-musl-build.patch b/package/utils/adb/patches/003-fix-musl-build.patch
new file mode 100644
index 0000000000..8a974b130e
--- /dev/null
+++ b/package/utils/adb/patches/003-fix-musl-build.patch
@@ -0,0 +1,10 @@
+--- a/adb/usb_linux.c
++++ b/adb/usb_linux.c
+@@ -21,6 +21,7 @@
+
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/time.h>
+ #include <dirent.h>
+ #include <fcntl.h>