diff options
Diffstat (limited to 'gl/fstat.c')
| -rw-r--r-- | gl/fstat.c | 11 |
1 files changed, 2 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* fstat() replacement. | 1 | /* fstat() replacement. |
| 2 | Copyright (C) 2011-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2026 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -40,14 +40,7 @@ orig_fstat (int fd, struct stat *buf) | |||
| 40 | #endif | 40 | #endif |
| 41 | 41 | ||
| 42 | /* Specification. */ | 42 | /* Specification. */ |
| 43 | #ifdef __osf__ | 43 | #include <sys/stat.h> |
| 44 | /* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc | ||
| 45 | eliminates this include because of the preliminary #include <sys/stat.h> | ||
| 46 | above. */ | ||
| 47 | # include "sys/stat.h" | ||
| 48 | #else | ||
| 49 | # include <sys/stat.h> | ||
| 50 | #endif | ||
| 51 | 44 | ||
| 52 | #include "stat-time.h" | 45 | #include "stat-time.h" |
| 53 | 46 | ||
