diff options
author | Clint Adams <clint@debian.org> | 2021-08-31 08:53:23 -0400 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2021-08-31 08:53:23 -0400 |
commit | c50de48f2ed0b9476c3389fd07a85a5e8be798e2 (patch) | |
tree | 80f254d789336981f5ea660741739f70d46589d5 /lib/lstat.c | |
parent | 637a2e292881341dde845545517b0ed3d3ccfc94 (diff) |
New upstream version 4.8
Diffstat (limited to 'lib/lstat.c')
-rw-r--r-- | lib/lstat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/lstat.c b/lib/lstat.c index 5873bbd..f74392b 100644 --- a/lib/lstat.c +++ b/lib/lstat.c @@ -1,6 +1,6 @@ /* Work around a bug of lstat on some systems - Copyright (C) 1997-2006, 2008-2018 Free Software Foundation, Inc. + Copyright (C) 1997-2006, 2008-2020 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 @@ -42,10 +42,14 @@ orig_lstat (const char *filename, struct stat *buf) } /* Specification. */ +# ifdef __osf__ /* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include <sys/stat.h> above. */ -# include "sys/stat.h" +# include "sys/stat.h" +# else +# include <sys/stat.h> +# endif # include "stat-time.h" |