about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--posix/bug-ga1.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fe63971769..b96cc5a4a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-02-21  Andreas Jaeger  <aj@suse.de>
 
+	* posix/bug-ga1.c: Include <string.h> for memset prototype.
+
 	* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.
 
 	* iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as
diff --git a/posix/bug-ga1.c b/posix/bug-ga1.c
index 39e45d7845..c46ab43fd1 100644
--- a/posix/bug-ga1.c
+++ b/posix/bug-ga1.c
@@ -3,6 +3,7 @@
 #include <sys/socket.h>
 #include <netdb.h>
 #include <stdio.h>
+#include <string.h>
 
 int
 main (void)