diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 16:59:05 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 16:59:05 +0000 |
commit | cb052e4f6cc723bc408f32963e921705f3286c94 (patch) | |
tree | d6f6172f7cff8f5c44f9ae557a525e4b1baf277b /lib/dirfd.h | |
parent | 28edf6a75ef4f95e18da5b506bdcf122a53ca3ec (diff) | |
download | coreutils-cb052e4f6cc723bc408f32963e921705f3286c94.tar.xz |
Update from gnulib.
Diffstat (limited to 'lib/dirfd.h')
-rw-r--r-- | lib/dirfd.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/lib/dirfd.h b/lib/dirfd.h index 1223b51d2..601332c8b 100644 --- a/lib/dirfd.h +++ b/lib/dirfd.h @@ -1,5 +1,5 @@ /* Declare dirfd, if necessary. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,18 +21,10 @@ #if HAVE_DIRENT_H # include <dirent.h> -#else /* not HAVE_DIRENT_H */ +#else # define dirent direct -# if HAVE_SYS_NDIR_H -# include <sys/ndir.h> -# endif /* HAVE_SYS_NDIR_H */ -# if HAVE_SYS_DIR_H -# include <sys/dir.h> -# endif /* HAVE_SYS_DIR_H */ -# if HAVE_NDIR_H -# include <ndir.h> -# endif /* HAVE_NDIR_H */ -#endif /* HAVE_DIRENT_H */ +# include <ndir.h> +#endif #ifndef HAVE_DECL_DIRFD "this configure-time declaration test was not run" |