Include string.h, for memset.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Aug 2009 08:41:48 +0000 (10:41 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 24 Aug 2009 08:41:48 +0000 (10:41 +0200)
ChangeLog
lib/dup3.c

index efac0df2fd96723ddecc80c1a5b7211b696adeb3..21e02a21ab0519f6dbcedc357e1cf8f78ee8b7d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/dup3.c: Include <string.h>.
+
 2009-08-23  Bruno Haible  <bruno@clisp.org>
 
        * lib/dup3.c (dup3): Test only once whether the system actually exists.
index 906594e46978bc2b5e3e29f6fd5833c7d3273eba..f730e81e9f43efbbcf956d3ef6c60feb118762c8 100644 (file)
@@ -29,6 +29,8 @@
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 /* Native Woe32 API.  */
 
+# include <string.h>
+
 /* Get declarations of the Win32 API functions.  */
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>