summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio/test/test_option_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cpio/test/test_option_u.c')
-rw-r--r--usr.bin/cpio/test/test_option_u.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/cpio/test/test_option_u.c b/usr.bin/cpio/test/test_option_u.c
index 7abd7f0..7d2edff 100644
--- a/usr.bin/cpio/test/test_option_u.c
+++ b/usr.bin/cpio/test/test_option_u.c
@@ -23,7 +23,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "test.h"
+#if defined(_WIN32) && !defined(__CYGWIN__)
+#include <sys/utime.h>
+#else
#include <utime.h>
+#endif
__FBSDID("$FreeBSD$");
DEFINE_TEST(test_option_u)
OpenPOWER on IntegriCloud