diff src/systty.h @ 6819:0d592cff389f

Check for INCLUDED_FCNTL already defined.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Apr 1994 03:25:32 +0000
parents 43fffc5a7dd8
children cd81dba38a49
line wrap: on
line diff
--- a/src/systty.h	Tue Apr 12 03:25:18 1994 +0000
+++ b/src/systty.h	Tue Apr 12 03:25:32 1994 +0000
@@ -53,14 +53,16 @@
 #ifndef NO_TERMIO
 #include <termio.h>
 #endif /* not NO_TERMIO */
+#ifndef INCLUDED_FCNTL
 #define INCLUDED_FCNTL
 #include <fcntl.h>
-#else
+#endif
+#else /* not HAVE_TERMIO */
 #ifdef HAVE_TERMIOS
 #if defined(_AIX) && defined(_I386)
 #include <termios.h>		/* termios.h needs to be before termio.h */
 #include <termio.h>
-#else
+#else /* not HAVE_TERMIOS */
 #ifndef NO_TERMIO
 #include <termio.h>
 #endif
@@ -85,15 +87,9 @@
 
 extern int waiting_for_ast;
 extern int stop_input;
-#if 0 /* VAX C doeasn't understand initializing declarations */
-extern int input_ef = 0;
-extern int timer_ef = 0;
-extern int process_ef = 0;
-#else
 extern int input_ef;
 extern int timer_ef;
 extern int process_ef;
-#endif
 extern int input_eflist;
 extern int timer_eflist;