manuel5975p 6 年之前
父节点
当前提交
21ce898069
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      socketio.hpp

+ 3 - 1
socketio.hpp

@@ -1,3 +1,5 @@
+#ifndef SOCKETIO_HPP
+#define SOCKETIO_HPP
 #include <string>
 #include <cstring>
 #include <vector>
@@ -36,7 +38,7 @@ public:
 	server_socket(int _port);
 	cppsocket accept_connection();
 };
-
+#endif