about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-02-21 18:40:55 +0000
committerAndreas Jaeger <aj@suse.de>2004-02-21 18:40:55 +0000
commit4ba3c7461c3125ed2df94f1c35f1e1f67e68315a (patch)
tree3157f55cbcdeb22391425ff345d6239ca625e068
parent14755b91e9318bf1bd37e9f42149458b23a3d696 (diff)
downloadglibc-4ba3c7461c3125ed2df94f1c35f1e1f67e68315a.tar.gz
glibc-4ba3c7461c3125ed2df94f1c35f1e1f67e68315a.tar.xz
glibc-4ba3c7461c3125ed2df94f1c35f1e1f67e68315a.zip
* posix/bug-ga1.c: Include <string.h> for memset prototype.
-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)