From 6a33284b0745880a5e9bf7c78dfb6cadc8bbf28b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 24 Jan 2022 20:15:43 -0800 Subject: get Teliva running on NetBSD NetBSD still uses curses by default. One _could_ install ncurses, but I don't have access to a NetBSD box with permissions to install ncurses, so I'm experimenting to see how far we can get with just curses. So far most of the apps seem to work, with the exception of one bug that I'll commit next. --- src/lcurses/_helpers.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lcurses/_helpers.c') diff --git a/src/lcurses/_helpers.c b/src/lcurses/_helpers.c index c2a30b2..78457d6 100644 --- a/src/lcurses/_helpers.c +++ b/src/lcurses/_helpers.c @@ -21,7 +21,11 @@ #include #include /* for _POSIX_VERSION */ +#ifdef __NetBSD__ +#include +#else #include +#endif #include #include "../lua.h" -- cgit 1.4.1-2-gfad0