summaryrefslogtreecommitdiff
path: root/include/my_bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_bitmap.h')
-rw-r--r--include/my_bitmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h
index 33cd61de8a0..8afeb1b8107 100644
--- a/include/my_bitmap.h
+++ b/include/my_bitmap.h
@@ -17,7 +17,9 @@
#ifndef _my_bitmap_h_
#define _my_bitmap_h_
+#ifdef THREAD
#include <my_pthread.h>
+#endif
#define MY_BIT_NONE (~(uint) 0)