lib/ac/dirent.h
author "Tomas Zeman <tzeman@volny.cz>"
Sun, 20 Jan 2008 00:12:17 +0100
changeset 1 30113bfbe723
parent 0 6f7a81934006
child 2 b3afb9f1e801
permissions -rw-r--r--
Added tag vmailmgr-0.96.9 for changeset 6f7a81934006

#include <sys/types.h>
#if HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
#else
# define dirent direct
# define NAMLEN(dirent) (dirent)->d_namlen
# if HAVE_SYS_NDIR_H
#  include <sys/ndir.h>
# endif
# if HAVE_SYS_DIR_H
#  include <sys/dir.h>
# endif
# if HAVE_NDIR_H
#  include <ndir.h>
# endif
#endif