summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-10-06 02:53:42 +0000
committerJim Meyering <jim@meyering.net>1995-10-06 02:53:42 +0000
commit965c0bf39db97e78a3b00a75e76bff77aafd2cc9 (patch)
treed75ec3e736853897bcea1abfedb8e43bf55ef719 /src/system.h
parent6fc3c211ec574730d40f2d7c1da91353a7abc8bf (diff)
downloadcoreutils-965c0bf39db97e78a3b00a75e76bff77aafd2cc9.tar.xz
[!HAVE_UTIME_H]: Don't declare struct utimbuf here.
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h6
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;