# HG changeset patch # User Roland McGrath # Date 758096139 0 # Node ID cabacc65710f5815b5090d92c65dffe41cca6408 # Parent 9c86c71e879d3cbdec62f064010126b11340ebab Restore big block of #ifdef and #include lines for fcntl.h and friends, apparently accidentally removed in revision 1.70. diff -r 9c86c71e879d -r cabacc65710f src/sysdep.c --- a/src/sysdep.c Sun Jan 09 01:00:04 1994 +0000 +++ b/src/sysdep.c Sun Jan 09 06:15:39 1994 +0000 @@ -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 @@ 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