[Mesa-stable] [Fwd: [Mesa-dev] [PATCH] Android: major/minor/makedev live in <sys/sysmacros.h>]
Juan A. Suarez Romero
jasuarez at igalia.com
Tue Jun 27 11:33:38 UTC 2017
This patch fixes Android build.
Proposing to @stable
J.A.
-------- Forwarded Message --------
From: Rob Herring <robh at kernel.org>
To: mesa-dev at lists.freedesktop.org
Cc: Mauro Rossi <issor.oruam at gmail.com>, Emil Velikov <emil.l.velikov at g
mail.com>
Subject: [Mesa-dev] [PATCH] Android: major/minor/makedev live in
<sys/sysmacros.h>
Date: Tue, 30 May 2017 07:23:36 -0500
sysmacros.h was getting implicitly included in types.h until recently in
AOSP master. Define MAJOR_IN_SYSMACROS to explicitly include sysmacros.h.
Signed-off-by: Rob Herring <robh at kernel.org>
---
Android.common.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Android.common.mk b/Android.common.mk
index b2bb11a74c17..8496c6ec09ce 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -65,6 +65,7 @@ LOCAL_CFLAGS += \
-DHAVE_DLOPEN \
-DHAVE_DL_ITERATE_PHDR \
-DTEXTURE_FLOAT_ENABLED \
+ -DMAJOR_IN_SYSMACROS \
-fvisibility=hidden \
-Wno-sign-compare
--
2.11.0
_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list