Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
| 3 | Date: Sat, 11 Aug 2018 13:23:37 +0000 |
| 4 | Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28 |
| 5 | |
| 6 | * include sysmacros for major, minor |
| 7 | |
| 8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 9 | --- |
| 10 | adb/usb_linux.c | 1 + |
| 11 | 1 file changed, 1 insertion(+) |
| 12 | |
| 13 | diff --git a/adb/usb_linux.c b/adb/usb_linux.c |
| 14 | index 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> |