summaryrefslogtreecommitdiff
path: root/util/android_config.h
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-07-12 14:59:11 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-08-05 12:22:42 -0400
commitc4062e7acfeaafe3c5a259b49fe9984efdc5f03b (patch)
treeba5ff48442ec423e7049a117cecb37031f9b3d49 /util/android_config.h
parentdfae277e8b30272c8368a2f616f79e99d116cec8 (diff)
downloade2fsprogs-c4062e7acfeaafe3c5a259b49fe9984efdc5f03b.tar.gz
AOSP: Always define HAVE_SYS_SYSMACROS_H on Android.
This is needed after 3fb715b55426875902dfef3056b2cf7335953178 which conditionally included sysmacros.h. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Change-Id: I52e3da4d9ea0f5efbf685a9c4a266f33357f8d8c From AOSP commit: a5deff7b7ee15a5ba5d65516326ce4c42daa1027
Diffstat (limited to 'util/android_config.h')
-rw-r--r--util/android_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/android_config.h b/util/android_config.h
index af611923..e7d78a98 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -28,6 +28,7 @@
#define HAVE_UTIME_H 1
#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
@@ -64,5 +65,4 @@
# define HAVE_PWRITE64 1
# define HAVE_SETMNTENT 1
# define HAVE_SYS_PRCTL_H 1
-# define HAVE_SYS_SYSMACROS_H 1
#endif