]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't include utime.h; not needed.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Sep 2005 20:35:41 +0000 (20:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Sep 2005 20:35:41 +0000 (20:35 +0000)
(struct utimbuf) [!defined HAVE_STRUCT_UTIMBUF]: Remove; not needed.

src/system.h

index e18d99d86fcba65e1166c781b0246f439fb35681..e2e67c49fcf75c46dcf34dd2babcd21dee2441a7 100644 (file)
@@ -92,20 +92,6 @@ you must include <sys/types.h> before including this file
 # define makedev(maj, min)  mkdev (maj, min)
 #endif
 
-#if HAVE_UTIME_H
-# include <utime.h>
-#endif
-
-/* Some systems (even some that do have <utime.h>) don't declare this
-   structure anywhere.  */
-#ifndef HAVE_STRUCT_UTIMBUF
-struct utimbuf
-{
-  long actime;
-  long modtime;
-};
-#endif
-
 /* Don't use bcopy!  Use memmove if source and destination may overlap,
    memcpy otherwise.  */