Skip to content

Commit

Permalink
build: fix termios issue on android cross-compile
Browse files Browse the repository at this point in the history
Bug: https://curl.haxx.se/mail/lib-2018-01/0122.html
Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb authored and bagder committed Feb 1, 2018
1 parent ddd31dc commit 1eb4f5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tool_cb_prg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1eb4f5a

Please sign in to comment.