Fix missing declaration
authorAndreas Schwab <schwab@redhat.com>
Mon, 22 Aug 2011 10:16:12 +0000 (12:16 +0200)
committerAndreas Schwab <schwab@redhat.com>
Mon, 22 Aug 2011 10:17:05 +0000 (12:17 +0200)
ChangeLog
sysdeps/unix/sysv/linux/i386/scandir64.c

index 1cfaf54..b206e65 100644 (file)
--- 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.
 
index ae1970e..3953f46 100644 (file)
@@ -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"