summaryrefslogtreecommitdiff
path: root/user/clucene/usleep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/clucene/usleep.patch')
-rw-r--r--user/clucene/usleep.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/clucene/usleep.patch b/user/clucene/usleep.patch
new file mode 100644
index 000000000..d6cbac360
--- /dev/null
+++ b/user/clucene/usleep.patch
@@ -0,0 +1,12 @@
+Add missing include needed to run tests which use usleep
+
+--- clucene-core-2.3.3.4/src/test/test.h 2011-03-17 00:21:07.000000000 +0000
++++ clucene-core-2.3.3.4/src/test/test.h 2017-12-27 09:43:25.320000000 +0000
+@@ -23,6 +23,7 @@
+ #include <iostream>
+ #include <string.h>
+ #include <stdio.h>
++#include <unistd.h>
+
+ using namespace std;
+