=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/dirent.h,v retrieving revision 1.24 retrieving revision 1.25 diff -c -r1.24 -r1.25 *** src/include/dirent.h 2011/07/18 17:29:49 1.24 --- src/include/dirent.h 2012/03/22 01:13:40 1.25 *************** *** 1,4 **** ! /* $OpenBSD: dirent.h,v 1.24 2011/07/18 17:29:49 matthew Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: dirent.h,v 1.25 2012/03/22 01:13:40 matthew Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- *************** *** 118,123 **** --- 118,126 ---- int scandir(const char *, struct dirent ***, int (*)(struct dirent *), int (*)(const void *, const void *)); int alphasort(const void *, const void *); + #endif + #if __POSIX_VISIBLE >= 200809 || __XPG_VISIBLE > 600 + int (dirfd)(DIR *); #endif __END_DECLS