]> arthur.barton.de Git - bup.git/commitdiff
Include <sys/time.h> for lutimes, if available.
authorJamie Wyrick <terrifiedquack80@gmail.com>
Wed, 5 Jun 2019 21:21:53 +0000 (14:21 -0700)
committerRob Browning <rlb@defaultvalue.org>
Sun, 18 Aug 2019 18:47:29 +0000 (13:47 -0500)
Signed-off-by: Jamie Wyrick <terrifiedquack80@gmail.com>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c

index 87e8b82755d581762db9d9943fc822ed4cf5fb77..a03452a163c64dcd6acbfc1b05c9d5f5d99a74f7 100644 (file)
@@ -29,6 +29,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 
 #ifdef HAVE_LINUX_FS_H
 #include <linux/fs.h>