--- cpio/cpio.c 2010-01-18 19:01:37.000000000 +0100 +++ cpio/cpio.c.oden 2010-02-14 14:17:38.000000000 +0100 @@ -75,6 +75,9 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpi #ifdef HAVE_TIME_H #include <time.h> #endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif #include "cpio.h" #include "err.h"