$OpenBSD: patch-bk_bk_h,v 1.1 2013/12/03 14:21:37 giovanni Exp $
--- bk/bk.h.orig	Thu Nov 28 17:56:51 2013
+++ bk/bk.h	Thu Nov 28 17:58:04 2013
@@ -30,7 +30,7 @@ extern "C"
 #include <stdlib.h>
 #include <sys/types.h>
 #include <limits.h>
-#include <sys/timeb.h>
+#include <sys/time.h>
 #include <stdio.h>
 
 #include "bkError.h"
@@ -186,7 +186,7 @@ typedef struct VolInfo
     int imageForWriting;
     void(*progressFunction)(struct VolInfo*);
     void(*writeProgressFunction)(struct VolInfo*, double);
-    struct timeb lastTimeCalledProgress;
+    struct timeval lastTimeCalledProgress;
     bk_off_t estimatedIsoSize;
     BkHardLink* fileLocations; /* list of where to find regular files */
     char readWriteBuffer[READ_WRITE_BUFFER_SIZE];
