aboutsummaryrefslogtreecommitdiffstats
path: root/src/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/termcap.c')
-rw-r--r--src/termcap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/termcap.c b/src/termcap.c
index a8eabf25529..03476b15761 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -20,22 +20,18 @@ Boston, MA 02110-1301, USA. */
20/* Emacs config.h may rename various library functions such as malloc. */ 20/* Emacs config.h may rename various library functions such as malloc. */
21#include <config.h> 21#include <config.h>
22#include <setjmp.h> 22#include <setjmp.h>
23#include <lisp.h> /* xmalloc is here */
24/* Get the O_* definitions for open et al. */
25#include <sys/file.h> 23#include <sys/file.h>
26#include <fcntl.h> 24#include <fcntl.h>
27#ifdef HAVE_UNISTD_H 25#ifdef HAVE_UNISTD_H
28#include <unistd.h> 26#include <unistd.h>
29#endif 27#endif
30 28
29#include "lisp.h"
30
31#ifndef NULL 31#ifndef NULL
32#define NULL (char *) 0 32#define NULL (char *) 0
33#endif 33#endif
34 34
35#ifndef O_RDONLY
36#define O_RDONLY 0
37#endif
38
39/* BUFSIZE is the initial size allocated for the buffer 35/* BUFSIZE is the initial size allocated for the buffer
40 for reading the termcap file. 36 for reading the termcap file.
41 It is not a limit. 37 It is not a limit.