From c4062e7acfeaafe3c5a259b49fe9984efdc5f03b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 12 Jul 2018 14:59:11 -0700 Subject: [PATCH] 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 Change-Id: I52e3da4d9ea0f5efbf685a9c4a266f33357f8d8c From AOSP commit: a5deff7b7ee15a5ba5d65516326ce4c42daa1027 --- util/android_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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