X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdirfd.h;h=05b77774f6a537b60012bc2553a2129ea5149514;hb=11f037c25793b02c701776d88087ae7d419cbe93;hp=ce5ab2903e907ea0c0a833d817354843b8e01dc6;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/dirfd.h b/lib/dirfd.h index ce5ab2903..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 @@ -17,26 +17,9 @@ Written by Jim Meyering. */ -#if HAVE_CONFIG_H -# include -#endif - #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"