diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-03 16:08:32 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-03 16:08:32 -0700 |
| commit | 7f59d9c856de33b97bc3f2708dcc8dadf24ee040 (patch) | |
| tree | eb0c7bb18b57498965581881a5cccd5f1de48166 /lib/lstat.c | |
| parent | b49e353d9d01adbe60bc5d0b1658b4ef978b0b06 (diff) | |
| download | emacs-7f59d9c856de33b97bc3f2708dcc8dadf24ee040.tar.gz | |
Merge from gnulib.
Diffstat (limited to 'lib/lstat.c')
| -rw-r--r-- | lib/lstat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/lstat.c b/lib/lstat.c index b26065ede28..29fc6d25f90 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 <sys/stat.h>, let it include only + the system's <sys/stat.h> here, so that orig_lstat doesn't recurse to + rpl_lstat. */ +#define __need_system_sys_stat_h #include <config.h> #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 <sys/types.h> # include <sys/stat.h> # undef __need_system_sys_stat_h |
