diff options
| author | Joakim Verona | 2011-09-07 01:42:17 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-09-07 01:42:17 +0200 |
| commit | be81ea9a3709c042369aa6ffc6fee83448677251 (patch) | |
| tree | 2f74495859302056045b03a2284ff6110951d2a3 /lib/stat.c | |
| parent | 1b07d72dd2687ebddf2f5d8c5538a2b43bc6d13a (diff) | |
| parent | c8199d0f9eb45a99de074ec10b893f737f738cd8 (diff) | |
| download | emacs-be81ea9a3709c042369aa6ffc6fee83448677251.tar.gz emacs-be81ea9a3709c042369aa6ffc6fee83448677251.zip | |
upstream
Diffstat (limited to 'lib/stat.c')
| -rw-r--r-- | lib/stat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stat.c b/lib/stat.c index f07370dd06b..6c354d1d357 100644 --- a/lib/stat.c +++ b/lib/stat.c | |||
| @@ -16,10 +16,13 @@ | |||
| 16 | 16 | ||
| 17 | /* written by Eric Blake */ | 17 | /* written by Eric Blake */ |
| 18 | 18 | ||
| 19 | /* If the user's config.h happens to include <sys/stat.h>, let it include only | ||
| 20 | the system's <sys/stat.h> here, so that orig_stat doesn't recurse to | ||
| 21 | rpl_stat. */ | ||
| 22 | #define __need_system_sys_stat_h | ||
| 19 | #include <config.h> | 23 | #include <config.h> |
| 20 | 24 | ||
| 21 | /* Get the original definition of stat. It might be defined as a macro. */ | 25 | /* Get the original definition of stat. It might be defined as a macro. */ |
| 22 | #define __need_system_sys_stat_h | ||
| 23 | #include <sys/types.h> | 26 | #include <sys/types.h> |
| 24 | #include <sys/stat.h> | 27 | #include <sys/stat.h> |
| 25 | #undef __need_system_sys_stat_h | 28 | #undef __need_system_sys_stat_h |