Include string.h, for memset.
author |
Bruno Haible <bruno@clisp.org> |
date |
Mon, 24 Aug 2009 10:41:48 +0200 |
parents |
3ef16b8c79cd |
children |
341123ec9461 |
files |
ChangeLog lib/dup3.c |
diffstat |
2 files changed, 6 insertions(+), 0 deletions(-)
[+]
|
line diff
--- 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.
--- a/lib/dup3.c
+++ b/lib/dup3.c
@@ -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>