From a313923ec12d11daa8e70497c6b7b5d50965821b Mon Sep 17 00:00:00 2001 From: wfaulk Date: Wed, 7 Aug 2019 18:57:43 -0400 Subject: [PATCH] fix utf8 support https://github.com/octo/liboping/issues/36 --- src/oping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oping.c b/src/oping.c index c087c80..7ceb4e0 100644 --- a/src/oping.c +++ b/src/oping.c @@ -920,7 +920,7 @@ static void time_calc (struct timespec *ts_dest, /* {{{ */ #if USE_NCURSES static _Bool has_utf8() /* {{{ */ { -# if HAVE_NCURSESW_NCURSES_H +# if HAVE_NCURSESW_CURSES_H if (!opt_utf8) { /* Automatically determine */