diff --git a/Makefile b/Makefile index de7e063..1acde7c 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ TEST_LOGGER=./src/logger/lib/test/main.c LIBS_LOGGER=$(LIB_CORE) LIB_LOGGER=-l$(PROJECT_NAME)-logger -LIBS_CHAT=$(LIB_CORE) +LIBS_CHAT=$(LIB_CORE) -lpthread # Install Files INSTALL_INCLUDE=/usr/include diff --git a/src/chat/server/main.c b/src/chat/server/main.c index 6bfd2dd..3efb3bf 100644 --- a/src/chat/server/main.c +++ b/src/chat/server/main.c @@ -19,6 +19,7 @@ along with this program. If not, see . #include #include +#include char *read_socket(int socket); void *communicate_thread(void *arg);