diff options
| author | Dave Love | 2002-10-30 19:16:32 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-30 19:16:32 +0000 |
| commit | e62cab61d5aa119757a7f9eb2421e58ec3cd9593 (patch) | |
| tree | 0ee6afdb5230e81d1e65a688c691ef5a0f0a65f8 /src/process.c | |
| parent | e63304b745e5f27ce84e74b1d0766174437db5ce (diff) | |
| download | emacs-e62cab61d5aa119757a7f9eb2421e58ec3cd9593.tar.gz emacs-e62cab61d5aa119757a7f9eb2421e58ec3cd9593.zip | |
Include sys/wait.h.
[HAVE_PTY_H]; Include pty.h.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
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; | |||
| 330 | extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system; | 334 | extern 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 | ||
| 335 | static char pty_name[24]; | 342 | static char pty_name[24]; |