From bb4bc8e2ed21c6f462c23c09ce680f1588b080c4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 9 Jan 1994 06:15:39 +0000 Subject: [PATCH] Restore big block of #ifdef and #include lines for fcntl.h and friends, apparently accidentally removed in 1994-01-03T07:21:12Z!rms@gnu.org. --- src/sysdep.c | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/sysdep.c b/src/sysdep.c index 626f30284c..83e1db6bcf 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1,5 +1,5 @@ /* Interfaces to system-dependent kernel and library entries. - Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 87, 88, 93, 94 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -73,6 +73,40 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ extern int errno; +#ifdef VMS +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef __GNUC__ +#include +#else +#include +#endif +#undef F_SETFL +#ifndef RAB$C_BID +#include +#endif +#define MAXIOSIZE ( 32 * PAGESIZE ) /* Don't I/O more than 32 blocks at a time */ +#endif /* VMS */ + +#ifndef BSD4_1 +#ifdef BSD /* this is done this way to avoid defined (BSD) || defined (USG) + because the vms compiler doesn't grok `defined' */ +#include +#endif +#ifdef USG +#ifndef USG5 +#include +#endif +#endif +#endif /* not 4.1 bsd */ #ifdef BROKEN_FASYNC /* On some systems (DGUX comes to mind real fast) FASYNC causes -- 2.20.1