Integrate changes #9493,9494,9495,9496 from maintperl
[p5sagit/p5-mst-13.2.git] / ext / File / Glob / bsd_glob.c
index 6e2c9f1..1a12ddf 100644 (file)
@@ -674,7 +674,7 @@ glob3(Char *pathbuf, Char *pathend, Char *pattern,
         * and dirent.h as taking pointers to differently typed opaque
         * structures.
         */
-       Direntry_t *(*readdirfunc)();
+       Direntry_t *(*readdirfunc)(DIR*);
 
        *pathend = BG_EOS;
        errno = 0;