diff options
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" |