From d7b888c523416aea3590d7b74fbe4e3426a742c7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 24 Aug 2009 10:41:48 +0200 Subject: [PATCH] Include string.h, for memset. --- ChangeLog | 4 ++++ lib/dup3.c | 2 ++ 2 files changed, 6 insertions(+) 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 -- 2.30.2