X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Flstat.c;h=29fc6d25f90a4d6a45a0b64c2e7571594a216da4;hb=c29a7464f1218da01129bea72cbfc3dcb524881a;hp=b26065ede28d786eb1579d4d7e96e6bbdb6b6013;hpb=84b1687bd51d4d47773a434ec12812292c4c0942;p=gnulib.git diff --git a/lib/lstat.c b/lib/lstat.c index b26065ede..29fc6d25f 100644 --- a/lib/lstat.c +++ b/lib/lstat.c @@ -17,6 +17,10 @@ /* written by Jim Meyering */ +/* If the user's config.h happens to include , let it include only + the system's here, so that orig_lstat doesn't recurse to + rpl_lstat. */ +#define __need_system_sys_stat_h #include #if !HAVE_LSTAT @@ -27,7 +31,6 @@ typedef int dummy; #else /* HAVE_LSTAT */ /* Get the original definition of lstat. It might be defined as a macro. */ -# define __need_system_sys_stat_h # include # include # undef __need_system_sys_stat_h