aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-09-27 18:18:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-09-27 18:18:51 +0000
commit188f0c3ee1629a1238db7794ffdc9fbe578b3970 (patch)
treed5fc302e856022d2478750145995440b6326940b
parentd7a85a389dfe7197e3f0cb39596261c0d816a806 (diff)
parentffef67df3c832201fdf7b3d30cb47283d27b13c1 (diff)
downloadmtools-android-s-v2-preview-1.tar.gz
Fix building against musl am: ffef67df3candroid-s-v2-preview-1android-s-v2-preview-1
Original change: https://android-review.googlesource.com/c/platform/external/mtools/+/1826497 Change-Id: I03bea64bc1bfbba4969e2344d95cb786557c3bc3
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 3438725..79571ea 100644
--- a/config.h
+++ b/config.h
@@ -302,7 +302,9 @@
#define HAVE_TERMIOS_H 1
/* Define to 1 if you have the <termio.h> header file. */
+#if !defined(ANDROID_HOST_MUSL)
#define HAVE_TERMIO_H 1
+#endif
/* Define to 1 if you have the `toupper_l' function. */
#define HAVE_TOUPPER_L 1