summaryrefslogtreecommitdiffstats
path: root/gl/lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lstat.c')
-rw-r--r--gl/lstat.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gl/lstat.c b/gl/lstat.c
index bb4a59f1..2495568f 100644
--- a/gl/lstat.c
+++ b/gl/lstat.c
@@ -1,6 +1,6 @@
1/* Work around a bug of lstat on some systems 1/* Work around a bug of lstat on some systems
2 2
3 Copyright (C) 1997-2006, 2008-2025 Free Software Foundation, Inc. 3 Copyright (C) 1997-2006, 2008-2026 Free Software Foundation, Inc.
4 4
5 This file is free software: you can redistribute it and/or modify 5 This file is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as 6 it under the terms of the GNU Lesser General Public License as
@@ -42,14 +42,7 @@ orig_lstat (const char *filename, struct stat *buf)
42} 42}
43 43
44/* Specification. */ 44/* Specification. */
45# ifdef __osf__ 45# include <sys/stat.h>
46/* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc
47 eliminates this include because of the preliminary #include <sys/stat.h>
48 above. */
49# include "sys/stat.h"
50# else
51# include <sys/stat.h>
52# endif
53 46
54# include "stat-time.h" 47# include "stat-time.h"
55 48