summarylogtreecommitdiffstats
path: root/fix-64-bit-segfault.patch
blob: 6b9e6e4a007cf7100754072eafc4aae28b8a1907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fixes the issue that happens on 64 bit sytems, ref:
https://groups.yahoo.com/neo/groups/doris_users/conversations/topics/4248
--- a/src/snaphu_io.c	2003-02-23 08:13:46.000000000 +0000
+++ b/src/snaphu_io.c	2018-10-18 09:08:59.423398983 +0100
@@ -22,7 +22,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <sys/time.h>
+#include <time.h>
 #include <sys/resource.h>
 
 #include "snaphu.h"