OSDN Git Service

Android's major/minor/makedev live in <sys/sysmacros.h>
authorElliott Hughes <enh@google.com>
Sat, 20 May 2017 18:24:29 +0000 (11:24 -0700)
committerRob Herring <robh@kernel.org>
Sun, 28 May 2017 14:30:10 +0000 (09:30 -0500)
Bug: https://github.com/android-ndk/ndk/issues/398

Signed-off-by: Rob Herring <robh@kernel.org>
Android.common.mk

index 35c0f02..4b5462f 100644 (file)
@@ -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