miner.h: include sys/time.h for struct timeval definition
diff --git a/miner.h b/miner.h
index bf86f56..ea5379f 100644
--- a/miner.h
+++ b/miner.h
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <sys/time.h>
#include <jansson.h>
#ifdef __SSE2__