diff options
author | Ben Greear <greearb@candelatech.com> | 2018-01-31 23:52:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-02-01 08:07:45 +0100 |
commit | 1eb4f5ac9d9b9a73e1dba890636b599037bd643d (patch) | |
tree | ce1f34f942ca7b28d9a2ef55667564a7eb1846c7 /src | |
parent | ddd31dc5dd960c4bd4dc995aec5178fddb24bfef (diff) |
build: fix termios issue on android cross-compile
Bug: https://curl.haxx.se/mail/lib-2018-01/0122.html
Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_cb_prg.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <termios.h> +#elif defined(HAVE_TERMIO_H) +# include <termio.h> +#endif + /* 200 values generated by this perl code: my $pi = 3.1415; |