diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d8ed68..01905d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,7 @@ target_link_libraries(mod_chat_history utils) target_link_libraries(mod_chat_only utils) target_link_libraries(mod_logging utils) target_link_libraries(mod_topic utils) - +target_link_libraries(utils network) target_link_libraries(mod_welcome network) target_link_libraries(mod_logging network) diff --git a/src/util/threads.h b/src/util/threads.h index 20d2186..afc4359 100644 --- a/src/util/threads.h +++ b/src/util/threads.h @@ -22,7 +22,7 @@ typedef void*(*uhub_thread_start)(void*) ; -#ifdef POSIX_THREADS_SUPPORT +#ifdef POSIX_THREAD_SUPPORT typedef pthread_t uhub_thread_t; typedef pthread_mutex_t uhub_mutex_t; #endif