]> sjero.net Git - wget/commitdiff
[svn] Include process.h for getpid() declaration.
authorhniksic <devnull@localhost>
Fri, 8 Jul 2005 18:51:27 +0000 (11:51 -0700)
committerhniksic <devnull@localhost>
Fri, 8 Jul 2005 18:51:27 +0000 (11:51 -0700)
By Gisle Vanem.

src/ChangeLog
src/mswindows.h

index 185da492e0768a0b01bac12875eb3e2348b5cc4b..15e55151fc4abcb7aa91542c84c3efa69012679b 100644 (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.
index 34352877074103b3707011f199435446bbd168ff..f72372b799179c9400e75af76f2e75e77ca631d6 100644 (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