summaryrefslogtreecommitdiff
path: root/util/android_config.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-19 12:49:54 -0700
committerTheodore Ts'o <tytso@mit.edu>2017-05-23 23:18:28 -0400
commit7701f128aef57d256a5553f5f9f7fb06ca2c03c1 (patch)
tree8e2f2186d3653c82970d319fb2fab7d8b230ffa9 /util/android_config.h
parent0df5f9290c2a4013799b38bfd8a24aeed37b34df (diff)
downloade2fsprogs-7701f128aef57d256a5553f5f9f7fb06ca2c03c1.tar.gz
AOSP: Define HAVE_SYS_SYSMACROS_H for Android.
Also remove a duplicate copy of misc/create_inode.c that isn't upstream. Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: Ibc475c82aa21f063673cb68bcf6e41ad9d821cd3 From AOSP commit: 37f805a9571cf33c95080c3dbd65c7a4e46fcd71 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util/android_config.h')
-rw-r--r--util/android_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/android_config.h b/util/android_config.h
index 9b09ce6b..e6b25fa5 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -65,4 +65,5 @@
# define HAVE_PREAD64 1
# define HAVE_PWRITE64 1
# define HAVE_SYS_PRCTL_H 1
+# define HAVE_SYS_SYSMACROS_H 1
#endif