diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-06 02:53:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-06 02:53:42 +0000 |
commit | 965c0bf39db97e78a3b00a75e76bff77aafd2cc9 (patch) | |
tree | d75ec3e736853897bcea1abfedb8e43bf55ef719 | |
parent | 6fc3c211ec574730d40f2d7c1da91353a7abc8bf (diff) | |
download | coreutils-965c0bf39db97e78a3b00a75e76bff77aafd2cc9.tar.xz |
[!HAVE_UTIME_H]: Don't declare struct utimbuf here.
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
-rw-r--r-- | src/system.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index cdd8f3e39..23bb92e42 100644 --- a/src/system.h +++ b/src/system.h @@ -141,7 +141,11 @@ off_t lseek (); #ifdef HAVE_UTIME_H #include <utime.h> -#else +#endif + +/* Some systems (even some that do have <utime.h>) don't declare this + structure anywhere. */ +#ifndef HAVE_STRUCT_UTIMBUF struct utimbuf { long actime; |