summaryrefslogtreecommitdiff
path: root/lib/termcap/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/termcap/termcap.c')
-rw-r--r--lib/termcap/termcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/termcap/termcap.c b/lib/termcap/termcap.c
index 2a270c45..eb690c9f 100644
--- a/lib/termcap/termcap.c
+++ b/lib/termcap/termcap.c
@@ -21,11 +21,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
/* Get the O_* definitions for open et al. */
+#ifndef _MINIX
#include <sys/file.h>
-#ifdef USG5
-#include <fcntl.h>
#endif
+#include <fcntl.h>
+
#else /* not HAVE_CONFIG_H */
#ifdef STDC_HEADERS
@@ -777,4 +778,3 @@ tprint (cap)
}
#endif /* TEST */
-