Load <termios.h> prior to <curses.h> as it is needed on solaris.
authorChris Hanson <org/chris-hanson/cph>
Wed, 20 Nov 2002 15:39:40 +0000 (15:39 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 20 Nov 2002 15:39:40 +0000 (15:39 +0000)
v7/src/microcode/tterm.c

index aac5f9d85620cb0681441c3a96eff485ce59502d..2d19257e58c73adda1cd5ce03cfc9bf64cc2a3ac 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: tterm.c,v 1.13 2002/01/29 06:00:09 cph Exp $
+$Id: tterm.c,v 1.14 2002/11/20 15:39:40 cph Exp $
 
 Copyright (c) 1990-2002 Massachusetts Institute of Technology
 
@@ -32,6 +32,9 @@ USA.
    parsing error on GNU systems.  */
 #  undef false
 #  undef true
+#  ifdef HAVE_TERMIOS_H
+#    include <termios.h>
+#  endif
 #  include <curses.h>
 #  include <term.h>
 #else