projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
049bfda
)
Include string.h, for memset.
author
Bruno Haible
<bruno@clisp.org>
Mon, 24 Aug 2009 08:41:48 +0000
(10:41 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 24 Aug 2009 08:41:48 +0000
(10:41 +0200)
ChangeLog
patch
|
blob
|
history
lib/dup3.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
efac0df
..
21e02a2
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,9
@@
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.
* lib/pipe2.c (pipe2): Likewise.
Suggested by Eric Blake.
diff --git
a/lib/dup3.c
b/lib/dup3.c
index
906594e
..
f730e81
100644
(file)
--- 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>