From: Dave Love Date: Wed, 30 Oct 2002 19:16:32 +0000 (+0000) Subject: Include sys/wait.h. X-Git-Tag: ttn-vms-21-2-B4~12650 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e62cab61d5aa119757a7f9eb2421e58ec3cd9593;p=emacs.git Include sys/wait.h. [HAVE_PTY_H]; Include pty.h. --- 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];