]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!HAVE_UTIME_H]: Don't declare struct utimbuf here.
authorJim Meyering <jim@meyering.net>
Fri, 6 Oct 1995 02:53:42 +0000 (02:53 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Oct 1995 02:53:42 +0000 (02:53 +0000)
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.

src/system.h

index cdd8f3e394fea29e70545d8b2bda8fe308cbe99a..23bb92e42e57618ee071345b9c0e174c4b7a44db 100644 (file)
@@ -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;