]> thyrsus.com Git - bs.git/commitdiff
Better ncurses support.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 24 Oct 1994 20:35:56 +0000 (20:35 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 24 Oct 1994 20:35:56 +0000 (20:35 +0000)
bs.c

diff --git a/bs.c b/bs.c
index d8be1b9037281c8bc6a8dc51923695aa5ef859eb..72528359ddac4dfb7dc9d8168af3da42491d036c 100644 (file)
--- a/bs.c
+++ b/bs.c
 
 #include <stdio.h>
 #include <termios.h>
-#include <ncurses.h>   /* change this to curses.h if not on Linux */
+#ifdef NCURSES
+#include <ncurses.h>
+#else
+#include <curses.h>
+#endif NCURSES
 #include <signal.h>
 #include <ctype.h>
 #include <assert.h>