X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdirfd.h;h=05b77774f6a537b60012bc2553a2129ea5149514;hb=a74dcd0c2df4149148181beea2a8b5190619dbbe;hp=1223b51d2f9da0fdb98a8d6e537e9952326ad8fe;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/dirfd.h b/lib/dirfd.h index 1223b51d2..05b77774f 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 @@ -19,20 +19,7 @@ #include -#if HAVE_DIRENT_H -# include -#else /* not HAVE_DIRENT_H */ -# define dirent direct -# if HAVE_SYS_NDIR_H -# include -# endif /* HAVE_SYS_NDIR_H */ -# if HAVE_SYS_DIR_H -# include -# endif /* HAVE_SYS_DIR_H */ -# if HAVE_NDIR_H -# include -# endif /* HAVE_NDIR_H */ -#endif /* HAVE_DIRENT_H */ +#include #ifndef HAVE_DECL_DIRFD "this configure-time declaration test was not run"