diff -r 000000000000 -r 6f7a81934006 lib/ac/dirent.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/ac/dirent.h Wed Jan 16 22:39:43 2008 +0100 @@ -0,0 +1,17 @@ +#include +#if HAVE_DIRENT_H +# include +# define NAMLEN(dirent) strlen((dirent)->d_name) +#else +# define dirent direct +# define NAMLEN(dirent) (dirent)->d_namlen +# if HAVE_SYS_NDIR_H +# include +# endif +# if HAVE_SYS_DIR_H +# include +# endif +# if HAVE_NDIR_H +# include +# endif +#endif