From 1eb4f5ac9d9b9a73e1dba890636b599037bd643d Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Wed, 31 Jan 2018 23:52:05 +0100 Subject: build: fix termios issue on android cross-compile Bug: https://curl.haxx.se/mail/lib-2018-01/0122.html Signed-off-by: Ben Greear --- src/tool_cb_prg.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c index 286a3ffbc..60a3804f9 100644 --- a/src/tool_cb_prg.c +++ b/src/tool_cb_prg.c @@ -35,6 +35,12 @@ #include "memdebug.h" /* keep this as LAST include */ +#ifdef HAVE_TERMIOS_H +# include +#elif defined(HAVE_TERMIO_H) +# include +#endif + /* 200 values generated by this perl code: my $pi = 3.1415; -- cgit v1.2.3