diff src/process.c @ 48088:9618c046ce89

Include sys/wait.h. [HAVE_PTY_H]; Include pty.h.
author Dave Love <fx@gnu.org>
date Wed, 30 Oct 2002 19:16:32 +0000
parents f840e449c328
children 21d7f2c18976
line wrap: on
line diff
--- a/src/process.c	Wed Oct 30 19:15:17 2002 +0000
+++ b/src/process.c	Wed Oct 30 19:16:32 2002 +0000
@@ -102,6 +102,10 @@
 #ifdef IRIS
 #include <sys/sysmacros.h>	/* for "minor" */
 #endif /* not IRIS */
+  
+#ifdef HAVE_SYS_WAIT
+#include <sys/wait.h>
+#endif
 
 #include "systime.h"
 #include "systty.h"
@@ -330,6 +334,9 @@
 extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
 
 #ifdef HAVE_PTYS
+#ifdef HAVE_PTY_H
+#include <pty.h>
+#endif
 /* The file name of the pty opened by allocate_pty.  */
 
 static char pty_name[24];