summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/unique_socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/unique_socket.hpp')
-rw-r--r--include/ocl/unique_socket.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ocl/unique_socket.hpp b/include/ocl/unique_socket.hpp
index a8e532e..c5e67cc 100644
--- a/include/ocl/unique_socket.hpp
+++ b/include/ocl/unique_socket.hpp
@@ -5,7 +5,8 @@
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/
-#pragma once
+#ifndef __OCL_CORE_SOCKET
+#define __OCL_CORE_SOCKET
#include <ocl/detail/config.hpp>
#include <ocl/detail/net_config.hpp>
@@ -209,3 +210,5 @@ namespace ocl
{ sock.bad() };
};
} // namespace ocl
+
+#endif \ No newline at end of file