summaryrefslogtreecommitdiff
path: root/user/xapian-core/timeval-t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/xapian-core/timeval-t.patch')
-rw-r--r--user/xapian-core/timeval-t.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/xapian-core/timeval-t.patch b/user/xapian-core/timeval-t.patch
new file mode 100644
index 000000000..b1fa7f71b
--- /dev/null
+++ b/user/xapian-core/timeval-t.patch
@@ -0,0 +1,12 @@
+diff --git a/common/socket_utils.cc b/common/socket_utils.cc
+index 99a4a23..f7a872b 100644
+--- a/common/socket_utils.cc
++++ b/common/socket_utils.cc
+@@ -23,6 +23,7 @@
+
+ #include <cmath>
+ #include <limits>
++#include <sys/time.h>
+
+ using namespace std;
+