diff --git a/include/opendht/thread_pool.h b/include/opendht/thread_pool.h
index f16af058a51cc1338ced9977a7147574db5fbbad..f5b294b566b35b992a13f02a05f91803a970966d 100644
--- a/include/opendht/thread_pool.h
+++ b/include/opendht/thread_pool.h
@@ -27,6 +27,8 @@
 #include <future>
 #include <functional>
 
+#include <ciso646> // fix windows compiler bug
+
 namespace dht {
 
 class OPENDHT_PUBLIC ThreadPool {