diff --git a/include/MySQL_Thread.h b/include/MySQL_Thread.h index 26993dfef..7063c61fd 100644 --- a/include/MySQL_Thread.h +++ b/include/MySQL_Thread.h @@ -3,7 +3,9 @@ #define ____CLASS_STANDARD_MYSQL_THREAD_H #include "proxysql.h" #include "cpp.h" +#ifdef IDLE_THREADS #include +#endif // IDLE_THREADS #define MIN_POLL_LEN 8 #define MIN_POLL_DELETE_RATIO 8