Skip to content

Instantly share code, notes, and snippets.

@lfranchi
Last active December 31, 2015 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfranchi/7954736 to your computer and use it in GitHub Desktop.
Save lfranchi/7954736 to your computer and use it in GitHub Desktop.
CLucene HEAD Mavericks patch LuceneThreads.h
diff --git a/src/shared/CLucene/LuceneThreads.h b/src/shared/CLucene/LuceneThreads.h
index 97072ee..573b40a 100644
--- 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment