summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-17 11:36:51 -0700
committerElliott Hughes <enh@google.com>2017-05-17 11:36:51 -0700
commitd77b5377320765c95877199d1a3af28061da66b9 (patch)
treeeeb25c3a07496790506284a4de8dc95f75be3fa6
parent3cfc1ab89dd841c69f0d477e75d534329a7a2e47 (diff)
downloadsystem_core-d77b5377320765c95877199d1a3af28061da66b9.tar.gz
system_core-d77b5377320765c95877199d1a3af28061da66b9.tar.bz2
system_core-d77b5377320765c95877199d1a3af28061da66b9.zip
libcutils should #include <sys/sysmacros.h>
Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I8ca21a74e2856fde09c284aee1343c627d8381e6
-rw-r--r--libcutils/ashmem-dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/ashmem-dev.c b/libcutils/ashmem-dev.c
index 92717c043..b4abb79d8 100644
--- a/libcutils/ashmem-dev.c
+++ b/libcutils/ashmem-dev.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <unistd.h>