summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-10-04 10:22:57 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-10-04 10:22:57 -0700
commit3e6ae1a4ae2f54ad70a528ee3d4fac992b964eaa (patch)
tree13597dfdaff9729ca7cbf0165c0c166c6a31a36c /src/termcap.c
parent8028ed5c1cf7a67264689790a6f7160e86160486 (diff)
downloademacs-3e6ae1a4ae2f54ad70a528ee3d4fac992b964eaa.tar.gz
Remove O_RDONLY, O_WRONLY definitions, not needed.
* src/unexcoff.c: * src/lread.c: * src/fileio.c: * src/doc.c: * src/callproc.c: * src/alloc.c: * src/termcap.c: Remove O_RDONLY O_WRONLY definitions.
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. */
/* Emacs config.h may rename various library functions such as malloc. */
#include <config.h>
#include <setjmp.h>
-#include <lisp.h> /* xmalloc is here */
-/* Get the O_* definitions for open et al. */
#include <sys/file.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#include "lisp.h"
+
#ifndef NULL
#define NULL (char *) 0
#endif
-#ifndef O_RDONLY
-#define O_RDONLY 0
-#endif
-
/* BUFSIZE is the initial size allocated for the buffer
for reading the termcap file.
It is not a limit.