about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-08-22 12:16:12 +0200
committerAndreas Schwab <schwab@redhat.com>2011-08-22 12:17:05 +0200
commit70538b7fe6c9a23fb942b10a9e6da4c138557e3c (patch)
treeccf15e81de88f95b34874aa8c6a7447aeb360df4
parentf55ffe58e9754e54f2de20c67613e8a26a9878df (diff)
downloadglibc-70538b7fe6c9a23fb942b10a9e6da4c138557e3c.tar.gz
glibc-70538b7fe6c9a23fb942b10a9e6da4c138557e3c.tar.xz
glibc-70538b7fe6c9a23fb942b10a9e6da4c138557e3c.zip
Fix missing declaration
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/i386/scandir64.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cfaf54a69..b206e65ab1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-08-22  Andreas Schwab  <schwab@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
+
 	* elf/dl-deps.c (_dl_map_object_deps): Move check for missing
 	dependencies back to end of function.
 
diff --git a/sysdeps/unix/sysv/linux/i386/scandir64.c b/sysdeps/unix/sysv/linux/i386/scandir64.c
index ae1970e1c3..3953f464bf 100644
--- a/sysdeps/unix/sysv/linux/i386/scandir64.c
+++ b/sysdeps/unix/sysv/linux/i386/scandir64.c
@@ -35,6 +35,7 @@
 versioned_symbol (libc, __scandir64, scandir64, GLIBC_2_2);
 
 #if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
+# include <string.h>
 # include <errno.h>
 # include "olddirent.h"