From: Bruno Haible Date: Mon, 24 Aug 2009 08:41:48 +0000 (+0200) Subject: Include string.h, for memset. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b888c523416aea3590d7b74fbe4e3426a742c7;p=pspp Include string.h, for memset. --- diff --git a/ChangeLog b/ChangeLog index efac0df2fd..21e02a21ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-08-23 Bruno Haible + + * lib/dup3.c: Include . + 2009-08-23 Bruno Haible * lib/dup3.c (dup3): Test only once whether the system actually exists. diff --git a/lib/dup3.c b/lib/dup3.c index 906594e469..f730e81e9f 100644 --- a/lib/dup3.c +++ b/lib/dup3.c @@ -29,6 +29,8 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* Native Woe32 API. */ +# include + /* Get declarations of the Win32 API functions. */ # define WIN32_LEAN_AND_MEAN # include