mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 01:30:23 +00:00
android-tools: fix build with glibc-2.28
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
From cb80906bd3869bba370a088e4634ae4a8093fdd8 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] 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 f16bdd036..c8a773244 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>
|
||||
@@ -47,6 +47,7 @@ SRC_URI = " \
|
||||
file://ext4_utils.mk;subdir=${BPN} \
|
||||
file://fastboot.mk;subdir=${BPN} \
|
||||
file://mkbootimg.mk;subdir=${BPN} \
|
||||
file://0001-usb_linux.c-fix-build-with-glibc-2.28.patch;patchdir=system/core \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user