aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch
blob: e02a95687f00c04856f1bb6d5fe4dabc993fe3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 11 Aug 2018 13:23:37 +0000
Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28

* include sysmacros for major, minor

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 adb/usb_linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/adb/usb_linux.c b/adb/usb_linux.c
index f16bdd0361..c8a7732441 100644
--- a/adb/usb_linux.c
+++ b/adb/usb_linux.c
@@ -22,6 +22,7 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/time.h>
+#include <sys/sysmacros.h>
 #include <dirent.h>
 #include <fcntl.h>
 #include <errno.h>