]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/readdir.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / gen / FreeBSD / readdir.c.patch
index 56c8c12bbf530d9d220a66d538821c45cd76171b..8d7058d89771479c13f09d06f0bf3c2fbb3169a2 100644 (file)
@@ -1,17 +1,14 @@
---- readdir.c.orig     2007-01-24 14:10:41.000000000 -0800
-+++ readdir.c  2007-01-27 02:51:25.000000000 -0800
-@@ -43,8 +43,10 @@
+--- readdir.c.orig     2009-11-08 13:59:03.000000000 -0800
++++ readdir.c  2009-11-08 13:59:22.000000000 -0800
+@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/rea
  #include <errno.h>
  #include <string.h>
  #include <pthread.h>
 +#include <unistd.h>
  #include "un-namespace.h"
  
-+#include "telldir.h"
  #include "libc_private.h"
- /*
-@@ -63,8 +65,13 @@
+@@ -61,8 +62,13 @@ _readdir_unlocked(dirp, skip)
                        dirp->dd_loc = 0;
                }
                if (dirp->dd_loc == 0 && !(dirp->dd_flags & __DTF_READALL)) {