diff options
author | Colin Cross <ccross@android.com> | 2021-09-13 16:34:14 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-09-13 16:34:14 -0700 |
commit | ffef67df3c832201fdf7b3d30cb47283d27b13c1 (patch) | |
tree | d5fc302e856022d2478750145995440b6326940b | |
parent | c15ae94327d9cd5a04d1a9436fc9e477d19cf840 (diff) | |
download | mtools-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |