From: Tim Kientzle Date: Mon, 26 Jan 2009 05:53:19 +0000 (-0500) Subject: Include sys/time.h; Linux requires it for futimes/lutimes. X-Git-Tag: v2.6.2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8e0e3b9bf9e4d8eac0ceecb5a121ee2e5e6332a;p=thirdparty%2Flibarchive.git Include sys/time.h; Linux requires it for futimes/lutimes. SVN-Revision: 490 --- diff --git a/cpio/cpio.c b/cpio/cpio.c index f031d975e..a8dd38b39 100644 --- a/cpio/cpio.c +++ b/cpio/cpio.c @@ -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 #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #ifdef HAVE_ERRNO_H #include #endif