From 52e9be4abc7b0de357bc73d2e88696a97de7e4db Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 4 Sep 2020 12:55:20 +0200 Subject: Basic support for building on NetBSD. - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='. --- src/ui/screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/screen.c') diff --git a/src/ui/screen.c b/src/ui/screen.c index 8a676082..a7be6c2a 100644 --- a/src/ui/screen.c +++ b/src/ui/screen.c @@ -39,6 +39,8 @@ #include #elif HAVE_NCURSES_H #include +#elif HAVE_CURSES_H +#include #endif #include "config/preferences.h" -- cgit 1.4.1-2-gfad0