OSDN Git Service

Fix IA-64 linux run-time failure, due to lack of ptsname declaration.
authorwilson <wilson>
Thu, 6 Jul 2000 19:05:24 +0000 (19:05 +0000)
committerwilson <wilson>
Thu, 6 Jul 2000 19:05:24 +0000 (19:05 +0000)
* pty_termios.c: Include expect_cf.h before stdio.h.

expect/ChangeLog
expect/pty_termios.c

index 435443f..39864fe 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-06  Jim Wilson  <wilson@cygnus.com>
+
+       * pty_termios.c: Include expect_cf.h before stdio.h.
+
 2000-05-15  Tom Tromey  <tromey@cygnus.com>
 
        * expect_cf.h.in (_XOPEN_SOURCE): Added.
index 113d9cf..15bf49c 100644 (file)
@@ -7,6 +7,9 @@ would appreciate credit if you use this file or parts of it.
 
 */
 
+/* Must be first, so that _XOPEN_SOURCE works.  */
+#include "expect_cf.h"
+
 #include <stdio.h>
 #include <signal.h>
 
@@ -14,8 +17,6 @@ would appreciate credit if you use this file or parts of it.
 #define SIGCHLD SIGCLD
 #endif
 
-#include "expect_cf.h"
-
 /*
    The following functions are linked from the Tcl library.  They
    don't cause anything else in the library to be dragged in, so it