From 99a2307d1dd5268a11ad959292513d58b347a744 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Thu, 25 Oct 2012 00:44:21 +0200 Subject: [PATCH] Simple compile fix. --- CMakeLists.txt | 2 +- src/util/threads.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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