summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--libio/vasprintf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a62bc29739..32346c52d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-21  Jakub Jelinek  <jakub@redhat.com>
+
+	* libio/vasprintf.c: Include string.h to get memcpy prototype.
+
 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
 
 	* wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
diff --git a/libio/vasprintf.c b/libio/vasprintf.c
index 0889a3151e..fb3109e0a4 100644
--- a/libio/vasprintf.c
+++ b/libio/vasprintf.c
@@ -24,6 +24,7 @@
    General Public License.  */
 
 #include <malloc.h>
+#include <string.h>
 #include "libioP.h"
 #include "stdio.h"
 #include "strfile.h"