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/config/color.c | 2 ++ src/config/theme.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/config') diff --git a/src/config/color.c b/src/config/color.c index 790febc7..63089fd8 100644 --- a/src/config/color.c +++ b/src/config/color.c @@ -46,6 +46,8 @@ #include #elif HAVE_NCURSES_H #include +#elif HAVE_CURSES_H +#include #endif #include "config/color.h" diff --git a/src/config/theme.c b/src/config/theme.c index 147b31c2..2ec256ad 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -45,6 +45,8 @@ #include #elif HAVE_NCURSES_H #include +#elif HAVE_CURSES_H +#include #endif #include "common.h" -- cgit