Maelstrom: Fix implicit declaration warning for time function

From 49fdcf02961fd8fa4015b029b327e82ea206a276 Mon Sep 17 00:00:00 2001
From: George Vlahavas <[EMAIL REDACTED]>
Date: Wed, 5 Apr 2023 23:07:26 +0300
Subject: [PATCH] Fix implicit declaration warning for time function
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This warning would show up when compiling:

Maelstrom-netd.c:93:15: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
   93 |         now = time(NULL);

that was because the time function is actually declared in time.h
instead of sys/time.h, so include the former instead.
 Maelstrom-netd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Maelstrom-netd.c b/Maelstrom-netd.c
index 3e6e942..530afd9 100644
--- a/Maelstrom-netd.c
+++ b/Maelstrom-netd.c
@@ -7,7 +7,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/time.h>
+#include <time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>