commit | d77b5377320765c95877199d1a3af28061da66b9 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 17 18:36:51 2017 |
committer | Elliott Hughes <enh@google.com> | Wed May 17 18:36:51 2017 |
tree | eeb25c3a07496790506284a4de8dc95f75be3fa6 | |
parent | 3cfc1ab89dd841c69f0d477e75d534329a7a2e47 [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>