From cd50e1ccac4b1fc3f092972b952e7fa0f4976f88 Mon Sep 17 00:00:00 2001 From: wilson Date: Thu, 6 Jul 2000 19:05:24 +0000 Subject: [PATCH] Fix IA-64 linux run-time failure, due to lack of ptsname declaration. * pty_termios.c: Include expect_cf.h before stdio.h. --- expect/ChangeLog | 4 ++++ expect/pty_termios.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/expect/ChangeLog b/expect/ChangeLog index 435443fa97..39864fedb6 100644 --- a/expect/ChangeLog +++ b/expect/ChangeLog @@ -1,3 +1,7 @@ +2000-07-06 Jim Wilson + + * pty_termios.c: Include expect_cf.h before stdio.h. + 2000-05-15 Tom Tromey * expect_cf.h.in (_XOPEN_SOURCE): Added. diff --git a/expect/pty_termios.c b/expect/pty_termios.c index 113d9cfbc9..15bf49cbf4 100644 --- a/expect/pty_termios.c +++ b/expect/pty_termios.c @@ -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 #include @@ -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 -- 2.11.0