aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c7
1 files changed, 7 insertions, 0 deletions
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. */
102#ifdef IRIS 102#ifdef IRIS
103#include <sys/sysmacros.h> /* for "minor" */ 103#include <sys/sysmacros.h> /* for "minor" */
104#endif /* not IRIS */ 104#endif /* not IRIS */
105
106#ifdef HAVE_SYS_WAIT
107#include <sys/wait.h>
108#endif
105 109
106#include "systime.h" 110#include "systime.h"
107#include "systty.h" 111#include "systty.h"
@@ -330,6 +334,9 @@ static int pty_max_bytes;
330extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system; 334extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
331 335
332#ifdef HAVE_PTYS 336#ifdef HAVE_PTYS
337#ifdef HAVE_PTY_H
338#include <pty.h>
339#endif
333/* The file name of the pty opened by allocate_pty. */ 340/* The file name of the pty opened by allocate_pty. */
334 341
335static char pty_name[24]; 342static char pty_name[24];