projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 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.
diff --git
a/lib/dup3.c
b/lib/dup3.c
index 906594e46978bc2b5e3e29f6fd5833c7d3273eba..f730e81e9f43efbbcf956d3ef6c60feb118762c8 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>