From: hniksic Date: Fri, 8 Jul 2005 18:51:27 +0000 (-0700) Subject: [svn] Include process.h for getpid() declaration. X-Git-Tag: v1.13~749 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=27324f9c79557f8fdc096f98b06b0b08f46dff79 [svn] Include process.h for getpid() declaration. By Gisle Vanem. --- diff --git a/src/ChangeLog b/src/ChangeLog index 185da492..15e55151 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-08 Gisle Vanem + + * mswindows.h: Include process.h to get getpid() declaration. + 2005-07-08 Hrvoje Niksic * utils.c (aprintf): Use vasprintf where available. diff --git a/src/mswindows.h b/src/mswindows.h index 34352877..f72372b7 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -59,6 +59,9 @@ so, delete this exception statement from your version. */ chmod. Unix declares these in unistd.h and fcntl.h. */ #include +/* Declares getpid(). */ +#include + #ifndef S_ISDIR # define S_ISDIR(m) (((m) & (_S_IFMT)) == (_S_IFDIR)) #endif