From: Dave Love Date: Fri, 2 Jun 2000 15:44:45 +0000 (+0000) Subject: Conditionally include stdlib.h, unistd.h. X-Git-Tag: emacs-pretest-21.0.90~3549 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3eb3bfac8dd59a761ebc3283a44d4dee6cd2d12;p=emacs.git Conditionally include stdlib.h, unistd.h. (VFORK_RETURN_TYPE): Remove. --- 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. */ #include #include #include +#ifdef HAVE_UNISTD_H +#include +#endif #include "lisp.h" #include "blockinput.h" @@ -75,6 +78,10 @@ extern int h_errno; #include #endif +#ifdef HAVE_STDLIB_H +#include +#endif + #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) #define setpgrp setpgid @@ -205,10 +212,6 @@ struct utimbuf { #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