From e62cab61d5aa119757a7f9eb2421e58ec3cd9593 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 30 Oct 2002 19:16:32 +0000 Subject: [PATCH] Include sys/wait.h. [HAVE_PTY_H]; Include pty.h. --- src/process.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/process.c b/src/process.c index c1379a923aa..5a271149319 100644 --- a/src/process.c +++ b/src/process.c @@ -102,6 +102,10 @@ Boston, MA 02111-1307, USA. */ #ifdef IRIS #include /* for "minor" */ #endif /* not IRIS */ + +#ifdef HAVE_SYS_WAIT +#include +#endif #include "systime.h" #include "systty.h" @@ -330,6 +334,9 @@ static int pty_max_bytes; extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system; #ifdef HAVE_PTYS +#ifdef HAVE_PTY_H +#include +#endif /* The file name of the pty opened by allocate_pty. */ static char pty_name[24]; -- 2.39.2