X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Feuidaccess.c;h=5148a5b3e33d32bf77f4e015b4555c8a8edc2d92;hb=9e50ddc83c2aa9cccbe954d561eb2380e4d3bfe7;hp=15ffdb072398e52b8ec63010239d82a6edb402bf;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/euidaccess.c b/lib/euidaccess.c index 15ffdb072..5148a5b3e 100644 --- a/lib/euidaccess.c +++ b/lib/euidaccess.c @@ -1,7 +1,7 @@ /* euidaccess -- check if effective user id can access file - Copyright (C) 1990, 1991, 1995, 1998, 2000, 2003, 2004, 2005 Free - Software Foundation, Inc. + Copyright (C) 1990, 1991, 1995, 1998, 2000, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -22,20 +22,14 @@ /* Written by David MacKenzie and Torbjorn Granlund. Adapted for GNU C library by Roland McGrath. */ -#ifdef HAVE_CONFIG_H -# include -#endif - #ifndef _LIBC +# include # include "euidaccess.h" #endif #include #include - -#if HAVE_UNISTD_H || defined _LIBC -# include -#endif +#include #if HAVE_LIBGEN_H # include @@ -73,7 +67,6 @@ #else # include "group-member.h" -# include "stat-macros.h" #endif