]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Include sys/time.h; Linux requires it for futimes/lutimes.
authorTim Kientzle <kientzle@gmail.com>
Mon, 26 Jan 2009 05:53:19 +0000 (00:53 -0500)
committerTim Kientzle <kientzle@gmail.com>
Mon, 26 Jan 2009 05:53:19 +0000 (00:53 -0500)
SVN-Revision: 490

cpio/cpio.c

index f031d975e1815801611a6f802917b2ed80ff3cd5..a8dd38b39f0600357aa2956845ab71b94b6c560e 100644 (file)
@@ -38,6 +38,9 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpio.c,v 1.15 2008/12/06 07:30:40 kientzle
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
 #endif