# HG changeset patch # User Richard M. Stallman # Date 770747000 0 # Node ID 8a5a170b864676d004d7caf74b24c99280e90082 # Parent fd03010db0c68944ac89118053c7befbb63b8248 entered into RCS diff -r fd03010db0c6 -r 8a5a170b8646 src/termcap.c --- a/src/termcap.c Sat Jun 04 05:24:48 1994 +0000 +++ b/src/termcap.c Sat Jun 04 16:23:20 1994 +0000 @@ -17,7 +17,15 @@ /* Emacs config.h may rename various library functions such as malloc. */ #ifdef HAVE_CONFIG_H + #include + +/* Get the O_* definitions for open et al. */ +#include +#ifdef USG5 +#include +#endif + #else /* not HAVE_CONFIG_H */ #if defined(HAVE_STRING_H) || defined(STDC_HEADERS)