diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-01-24 20:15:43 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-01-24 20:15:43 -0800 |
commit | 6a33284b0745880a5e9bf7c78dfb6cadc8bbf28b (patch) | |
tree | 9441259d7f9da51efb46209ecfd2fcdfdf534dfa /src/lbaselib.c | |
parent | e4f934db6b1f014c22b706781bbf836d3316a672 (diff) | |
download | teliva-6a33284b0745880a5e9bf7c78dfb6cadc8bbf28b.tar.gz |
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.
Diffstat (limited to 'src/lbaselib.c')
-rw-r--r-- | src/lbaselib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lbaselib.c b/src/lbaselib.c index fa597eb..2360357 100644 --- a/src/lbaselib.c +++ b/src/lbaselib.c @@ -7,7 +7,11 @@ #include <ctype.h> +#ifdef __NetBSD__ +#include <curses.h> +#else #include <ncurses.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |