ncurses.h -> curses.h
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@129 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
2e89c7c3be
commit
0f9d024d26
2
Makefile
2
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)
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue