aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-09-13 16:34:14 -0700
committerColin Cross <ccross@android.com>2021-09-13 16:34:14 -0700
commitffef67df3c832201fdf7b3d30cb47283d27b13c1 (patch)
treed5fc302e856022d2478750145995440b6326940b
parentc15ae94327d9cd5a04d1a9436fc9e477d19cf840 (diff)
downloadmtools-ffef67df3c832201fdf7b3d30cb47283d27b13c1.tar.gz
Fix building against musl
musl doesn't have termio.h Bug: 190084016 Test: m USE_HOST_MUSL=true Change-Id: I4c853eb73f2381e63aa75444bcca0ee80a8da4f1
-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