From f1283c762dbb0476de0eb9398e08aa0f2988e632 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 9 Sep 2015 06:30:01 -0700 Subject: Wrap call to repl with #if HAVE_TERMIOS. * txr.c (txr_main): The repl funtion is not declared unless HAVE_TERMIOS is present and nonzero. --- txr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/txr.c b/txr.c index b395b185..a7777c1f 100644 --- a/txr.c +++ b/txr.c @@ -759,7 +759,9 @@ int txr_main(int argc, char **argv) return result ? 0 : EXIT_FAILURE; repl: +#if HAVE_TERMIOS repl(bindings, std_input, std_output); +#endif return 0; } } -- cgit v1.2.3