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>
This commit is contained in:
Ben Greear 2018-01-31 23:52:05 +01:00 committed by Daniel Stenberg
parent ddd31dc5dd
commit 1eb4f5ac9d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;