about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-04-07 17:46:58 +0200
committerFlorian Weimer <fweimer@redhat.com>2015-04-07 17:46:58 +0200
commit72301304a5655662baf2bae88a7aceeabc4a753e (patch)
treecfcbfc628d7c4fb946442b57ae12940e214af2a0
parentcfcfd4614b8b01b2782ac4dcafb21d14d74d5184 (diff)
downloadglibc-72301304a5655662baf2bae88a7aceeabc4a753e.tar.gz
glibc-72301304a5655662baf2bae88a7aceeabc4a753e.tar.xz
glibc-72301304a5655662baf2bae88a7aceeabc4a753e.zip
scratch_buffer_grow_preserve: Add missing #include <string.h>
-rw-r--r--ChangeLog4
-rw-r--r--malloc/scratch_buffer_grow_preserve.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e1df07760..c0d3aca79d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-04-07  Florian Weimer  <fweimer@redhat.com>
 
+	* malloc/scratch_buffer_grow_preserve.c: Include <string.h>
+
+2015-04-07  Florian Weimer  <fweimer@redhat.com>
+
 	* include/scratch_buffer.h: New file.
 	* malloc/scratch_buffer_grow.c: Likewise.
 	* malloc/scratch_buffer_grow_preserve.c: Likewise.
diff --git a/malloc/scratch_buffer_grow_preserve.c b/malloc/scratch_buffer_grow_preserve.c
index f2edb49bda..c5f0b2d04f 100644
--- a/malloc/scratch_buffer_grow_preserve.c
+++ b/malloc/scratch_buffer_grow_preserve.c
@@ -18,6 +18,7 @@
 
 #include <scratch_buffer.h>
 #include <errno.h>
+#include <string.h>
 
 bool
 __libc_scratch_buffer_grow_preserve (struct scratch_buffer *buffer)