about summary refs log tree commit diff stats
path: root/src/lcurses/_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lcurses/_helpers.c')
-rw-r--r--src/lcurses/_helpers.c4
1 files changed, 4 insertions, 0 deletions
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 <sys/stat.h>
 #include <unistd.h>		/* for _POSIX_VERSION */
 
+#ifdef __NetBSD__
+#include <curses.h>
+#else
 #include <ncurses.h>
+#endif
 #include <term.h>
 
 #include "../lua.h"