From 9156d850a9803ce7e9f2716348d3b4b7c8493d8b Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Feb 2023 18:16:05 +0100 Subject: [PATCH] included stdlib in common --- include/chat/common.h | 1 + src/chat/server/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/chat/common.h b/include/chat/common.h index 668179c..ae7896f 100644 --- a/include/chat/common.h +++ b/include/chat/common.h @@ -3,6 +3,7 @@ //INCLUDES #include +#include #include #include #include diff --git a/src/chat/server/main.c b/src/chat/server/main.c index 9a99c50..b2f05a7 100644 --- a/src/chat/server/main.c +++ b/src/chat/server/main.c @@ -44,4 +44,5 @@ int main(void) void die(char *exit_msg) { fprintf(stderr, "%s\n", exit_msg); + exit(0); } \ No newline at end of file