summaryrefslogtreecommitdiff
path: root/util/android_config.h
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-07-25 12:41:05 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-08-05 13:58:26 -0400
commitaa975a572dc096f006156b1b8af9a74d05a2cdc2 (patch)
tree9af953d06dcdd606fd1f8c8684bfff54c4ac1d4c /util/android_config.h
parent0958bc632763bca1023fdd66239808a7ce50e752 (diff)
downloade2fsprogs-aa975a572dc096f006156b1b8af9a74d05a2cdc2.tar.gz
AOSP: Fix macOS build.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Bug: 111839488 Test: e2fsprogs builds on macOS. Change-Id: I4ddf332cc244fa44f928cba68470b7f9aa48a556 From AOSP commit: 4dc2456f0e6d10c73372e829e1875ec4095e8fa6
Diffstat (limited to 'util/android_config.h')
-rw-r--r--util/android_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/android_config.h b/util/android_config.h
index e7d78a98..6ac16fec 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -28,7 +28,9 @@
#define HAVE_UTIME_H 1
#define HAVE_SYS_STAT_H 1
-#define HAVE_SYS_SYSMACROS_H 1
+#if !defined(__APPLE__)
+# define HAVE_SYS_SYSMACROS_H 1
+#endif
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1