From ffef67df3c832201fdf7b3d30cb47283d27b13c1 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 13 Sep 2021 16:34:14 -0700 Subject: Fix building against musl musl doesn't have termio.h Bug: 190084016 Test: m USE_HOST_MUSL=true Change-Id: I4c853eb73f2381e63aa75444bcca0ee80a8da4f1 --- config.h | 2 ++ 1 file changed, 2 insertions(+) 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 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 -- cgit v1.2.3