commit | 6c2872eb9b17344847844250667e79e7001b2f83 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 17 11:36:51 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed May 17 11:36:51 2017 -0700 |
tree | eeb25c3a07496790506284a4de8dc95f75be3fa6 | |
parent | faf057c4c6668c5c8ae3d851e155c40a16f3e40d [diff] |
libcutils should #include <sys/sysmacros.h> Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I8ca21a74e2856fde09c284aee1343c627d8381e6
diff --git a/libcutils/ashmem-dev.c b/libcutils/ashmem-dev.c index 92717c0..b4abb79 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>