summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-12 03:25:32 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-12 03:25:32 +0000
commit92ea836df147a9418705d3b8ee14bef25691740a (patch)
tree4ff1161b54958a88fd2b6de8e49df86ac89f8f27 /src/systty.h
parent472e83febc694e6a3be338ff28c0fa2074b2b0cc (diff)
Check for INCLUDED_FCNTL already defined.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/systty.h b/src/systty.h
index 5027633ec9..2ef4d0ee0a 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -53,14 +53,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#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 @@ static struct iosb
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;