From 76448104b7080bf7245b326ce8ae720913a3b496 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 21 Feb 2023 07:38:19 +0100 Subject: [PATCH] fixed compilation problems linking library fok --- Makefile | 2 +- src/chat/server/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);