Mercurial > emacs
diff src/sysdep.c @ 29387:2ead157165c4
Conditionally include stdlib.h, unistd.h.
(VFORK_RETURN_TYPE): Remove.
| author | Dave Love <fx@gnu.org> |
|---|---|
| date | Fri, 02 Jun 2000 15:44:45 +0000 |
| parents | c8f4d06938b9 |
| children | e4f28eb9a373 |
line wrap: on
line diff
--- a/src/sysdep.c Fri Jun 02 15:40:51 2000 +0000 +++ b/src/sysdep.c Fri Jun 02 15:44:45 2000 +0000 @@ -22,6 +22,9 @@ #include <config.h> #include <signal.h> #include <setjmp.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #include "lisp.h" #include "blockinput.h" @@ -75,6 +78,10 @@ #include <unistd.h> #endif +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) #define setpgrp setpgid @@ -205,10 +212,6 @@ #endif #endif -#ifndef VFORK_RETURN_TYPE -#define VFORK_RETURN_TYPE int -#endif - /* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */ #ifndef LPASS8 #define LPASS8 0
