[PATCH libdrm] Android's major/minor/makedev live in <sys/sysmacros.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bug: https://github.com/android-ndk/ndk/issues/398
---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Android.common.mk b/Android.common.mk
index 35c0f02c..b45ca10f 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -1,5 +1,6 @@
 # XXX: Consider moving these to config.h analogous to autoconf.
 LOCAL_CFLAGS += \
+ -DMAJOR_IN_SYSMACROS=1 \
  -DHAVE_VISIBILITY=1 \
  -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1

-- 
2.13.0.303.g4ebf302169-goog
From 52a5cd30bdeb37cd0682e6e2e7704fc8c25c5d50 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@xxxxxxxxxx>
Date: Sat, 20 May 2017 10:51:40 -0700
Subject: [PATCH libdrm] Android's major/minor/makedev live in
 <sys/sysmacros.h>

Bug: https://github.com/android-ndk/ndk/issues/398
---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Android.common.mk b/Android.common.mk
index 35c0f02c..b45ca10f 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -1,5 +1,6 @@
 # XXX: Consider moving these to config.h analogous to autoconf.
 LOCAL_CFLAGS += \
+	-DMAJOR_IN_SYSMACROS=1 \
 	-DHAVE_VISIBILITY=1 \
 	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
-- 
2.13.0.303.g4ebf302169-goog

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux