[svn] Include process.h for getpid() declaration.

By Gisle Vanem.
This commit is contained in:
hniksic 2005-07-08 11:51:27 -07:00
parent 42231a47c3
commit 27324f9c79
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-07-08 Gisle Vanem <giva@bgnett.no>
* mswindows.h: Include process.h to get getpid() declaration.
2005-07-08 Hrvoje Niksic <hniksic@xemacs.org>
* utils.c (aprintf): Use vasprintf where available.

View File

@ -59,6 +59,9 @@ so, delete this exception statement from your version. */
chmod. Unix declares these in unistd.h and fcntl.h. */
#include <io.h>
/* Declares getpid(). */
#include <process.h>
#ifndef S_ISDIR
# define S_ISDIR(m) (((m) & (_S_IFMT)) == (_S_IFDIR))
#endif