summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-04 16:23:20 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-04 16:23:20 +0000
commit8fde62c18c3e90bdea3cac671877f30ee9fcfa81 (patch)
treec75df8a7188aaa3068ec766dcdda114865e5b252 /src/termcap.c
parent39c5a83f1c0203ea472319d2e3f588a310ee0083 (diff)
downloademacs-8fde62c18c3e90bdea3cac671877f30ee9fcfa81.tar.gz
entered into RCS
Diffstat (limited to 'src/termcap.c')
-rw-r--r--src/termcap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/termcap.c b/src/termcap.c
index a1bbab2d9d9..9462122677e 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -17,7 +17,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Emacs config.h may rename various library functions such as malloc. */
#ifdef HAVE_CONFIG_H
+
#include <config.h>
+
+/* Get the O_* definitions for open et al. */
+#include <sys/file.h>
+#ifdef USG5
+#include <fcntl.h>
+#endif
+
#else /* not HAVE_CONFIG_H */
#if defined(HAVE_STRING_H) || defined(STDC_HEADERS)