]> skyeroc.xyz Git - dgamelaunch/commitdiff
ncurses.h -> curses.h
authorJoshua Kwan <joshk@triplehelix.org>
Mon, 19 Jan 2004 16:56:03 +0000 (16:56 +0000)
committerJoshua Kwan <joshk@triplehelix.org>
Mon, 19 Jan 2004 16:56:03 +0000 (16:56 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@129 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

Makefile
dgamelaunch.c
dgamelaunch.h
mygetnstr.c
ttyplay.c

index 7299eda8aea416d2a87c6646c834a4bdad46d138..1881f8841f987a9e5a3f8be6ba414ccfffa2950a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ INSTALL = install -c
 DEFS = -DVERSION=\"$(VERSION)\"
 SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c mygetnstr.c stripgfx.c strlcpy.c strlcat.c y.tab.c lex.yy.c
 OBJS = $(SRCS:.c=.o)
-LIBS = -lncurses -lcrypt -lutil -ll
+LIBS = -lcurses -lcrypt  -ll
 
 all: $(NAME)
 
index f65f90ef8f944ac1bcd1438c6a427ce33625c954..958a3722e561587dabf94d9f5d35ad141ab54945 100644 (file)
@@ -49,7 +49,7 @@
 /* program stuff */
 
 #include <stdlib.h>
-#include <ncurses.h>
+#include <curses.h>
 #include <sys/types.h>
 #include <sys/file.h>           /* for flock() */
 #include <sys/time.h>
index 672dfa381c64925075a87559a187ccebd5c79cf7..7e3de916c730e225cdb5da8a16de76af10aec9bc 100644 (file)
@@ -7,7 +7,9 @@
 #include <time.h>
 
 /* Default - should work everywhere */
-#define USE_OPENPTY
+#if defined(__linux__) || defined(BSD)
+# define USE_OPENPTY
+#endif
 #define NOSTREAMS
 
 struct dg_user
index 3450f740aec814047d7e857461c8fe6827412441..0377806de743f64293f8bf8ad4cf04560774863e 100644 (file)
@@ -31,7 +31,7 @@
  * OF SUCH DAMAGE.
  */
 
-#include <ncurses.h>
+#include <curses.h>
 
 /* Assumes noecho(). */
 /* As with getnstr(), maxlen does not include the '\0' character. */
index 36d4cae9d2b5ae5133c5420b571d0c73b66db111..1fc9d7fad457317e8135a0a6f783f563ec3daf94 100644 (file)
--- a/ttyplay.c
+++ b/ttyplay.c
@@ -40,7 +40,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <string.h>
-#include <ncurses.h>
+#include <curses.h>
 #include "ttyrec.h"
 #include "io.h"
 #include "stripgfx.h"