diff options
author | Jim Meyering <jim@meyering.net> | 1994-10-02 02:09:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-10-02 02:09:38 +0000 |
commit | f17c045d219e48e96f7a35d37f239627fa0f8fcf (patch) | |
tree | c1cc2f8565c315aebefda2e283632a00595fa4d0 /lib/savedir.c | |
parent | b055972c6b12e52f0e41a47d47b711e10b530c1b (diff) | |
download | coreutils-f17c045d219e48e96f7a35d37f239627fa0f8fcf.tar.xz |
.
Diffstat (limited to 'lib/savedir.c')
-rw-r--r-- | lib/savedir.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/savedir.c b/lib/savedir.c index b831c1fe9..cdf1288a3 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -34,24 +34,24 @@ #include <unistd.h> #endif -#ifdef DIRENT +#ifdef HAVE_DIRENT_H #include <dirent.h> #define NLENGTH(direct) (strlen((direct)->d_name)) -#else /* not DIRENT */ +#else /* not HAVE_DIRENT_H */ #define dirent direct #define NLENGTH(direct) ((direct)->d_namlen) -#ifdef SYSNDIR +#ifdef HAVE_SYS_NDIR_H #include <sys/ndir.h> -#endif /* SYSNDIR */ -#ifdef SYSDIR +#endif /* HAVE_SYS_NDIR_H */ +#ifdef HAVE_SYS_DIR_H #include <sys/dir.h> -#endif /* SYSDIR */ -#ifdef NDIR +#endif /* HAVE_SYS_DIR_H */ +#ifdef HAVE_NDIR_H #include <ndir.h> -#endif /* NDIR */ -#endif /* DIRENT */ +#endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ -#ifdef VOID_CLOSEDIR +#ifdef CLOSEDIR_VOID /* Fake a return value. */ #define CLOSEDIR(d) (closedir (d), 0) #else |