aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sysdep.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index e5e46f77cbc..d5300f55e6f 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -22,6 +22,9 @@ Boston, MA 02111-1307, USA. */
22#include <config.h> 22#include <config.h>
23#include <signal.h> 23#include <signal.h>
24#include <setjmp.h> 24#include <setjmp.h>
25#ifdef HAVE_UNISTD_H
26#include <unistd.h>
27#endif
25 28
26#include "lisp.h" 29#include "lisp.h"
27#include "blockinput.h" 30#include "blockinput.h"
@@ -75,6 +78,10 @@ extern int h_errno;
75#include <unistd.h> 78#include <unistd.h>
76#endif 79#endif
77 80
81#ifdef HAVE_STDLIB_H
82#include <stdlib.h>
83#endif
84
78#ifdef HAVE_SETPGID 85#ifdef HAVE_SETPGID
79#if !defined (USG) || defined (BSD_PGRPS) 86#if !defined (USG) || defined (BSD_PGRPS)
80#define setpgrp setpgid 87#define setpgrp setpgid
@@ -205,10 +212,6 @@ struct utimbuf {
205#endif 212#endif
206#endif 213#endif
207 214
208#ifndef VFORK_RETURN_TYPE
209#define VFORK_RETURN_TYPE int
210#endif
211
212/* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */ 215/* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */
213#ifndef LPASS8 216#ifndef LPASS8
214#define LPASS8 0 217#define LPASS8 0