blob: e02a95687f00c04856f1bb6d5fe4dabc993fe3fb [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 11 Aug 2018 13:23:37 +0000
4Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28
5
6* include sysmacros for major, minor
7
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10 adb/usb_linux.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/adb/usb_linux.c b/adb/usb_linux.c
14index f16bdd0361..c8a7732441 100644
15--- a/adb/usb_linux.c
16+++ b/adb/usb_linux.c
17@@ -22,6 +22,7 @@
18 #include <sys/ioctl.h>
19 #include <sys/types.h>
20 #include <sys/time.h>
21+#include <sys/sysmacros.h>
22 #include <dirent.h>
23 #include <fcntl.h>
24 #include <errno.h>