about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/clucene-core/pthread-include.patch
blob: 73a168c132f411aa6b0c131591af4690f2180736 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/shared/CLucene/LuceneThreads.h
+++ b/src/shared/CLucene/LuceneThreads.h
@@ -7,6 +7,9 @@
 #ifndef _LuceneThreads_h
 #define  _LuceneThreads_h

+#if defined(_CL_HAVE_PTHREAD)
+	#include <pthread.h>
+#endif

 CL_NS_DEF(util)
 class CLuceneThreadIdCompare;