[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/libc/glibc/glibc-2.22/sysdeps/nacl/readdir.c b/ap/libc/glibc/glibc-2.22/sysdeps/nacl/readdir.c
new file mode 100644
index 0000000..a73bfe4
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/sysdeps/nacl/readdir.c
@@ -0,0 +1,11 @@
+/* The compiler complains about aliases with nonmatching type signatures.
+   The types 'struct dirent' and 'struct dirent64' are actually identical
+   even though the compiler doesn't consider them to be.  So we hide the
+   declaration from the compiler.  */
+#define __readdir64     __avoid___readdir64_declaration
+#define readdir64       __avoid_readdir64_declaration
+#include <sysdeps/posix/readdir.c>
+#undef  __readdir64
+#undef  readdir64
+strong_alias (__readdir, __readdir64)
+weak_alias (__readdir64, readdir64)