* include config.h

* ifdef to include either ncurses or curses header
This commit is contained in:
ban
1999-12-16 09:20:22 +00:00
parent 896a47bc6a
commit 02e3577b7e
+5 -1
View File
@@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -5,7 +9,7 @@
#include <fcntl.h>
#include <string.h>
#include <sys/errno.h>
#ifdef xBSD
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.h>