Added include guards to header files

This commit is contained in:
2024-02-14 18:32:01 -05:00
parent 195d6c4b4b
commit 26427fa257
5 changed files with 22 additions and 5 deletions

View File

@@ -1,4 +1,7 @@
#include "sock.hpp"
#ifndef _SERVER
#define _SERVER
#include "includes/sock.hpp"
#include "includes/exception_consts.hpp"
/*
Server class - Defines a TCP/UDP server.
@@ -26,3 +29,4 @@ public:
/* TODO - Add comments to better explain the inheritance and polymorphism going on */
};
#endif