diff --git a/src/chat/server/main.c b/src/chat/server/main.c
index 19b0d7a..08ecc53 100644
--- a/src/chat/server/main.c
+++ b/src/chat/server/main.c
@@ -21,7 +21,7 @@ along with this program. If not, see .
#include
#include
-#include
+void die(char *exit_message);
int main(void)
{
@@ -56,4 +56,9 @@ int main(void)
printf("%s\n", clientMsg);
return 0;
+}
+
+void die(char *exit_msg)
+{
+ fprintf(stderr, "%s\n", exit_msg);
}
\ No newline at end of file