summaryrefslogtreecommitdiff
path: root/src/net/packets.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/packets.hpp')
-rw-r--r--src/net/packets.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/packets.hpp b/src/net/packets.hpp
index 9cfb1da..e025a63 100644
--- a/src/net/packets.hpp
+++ b/src/net/packets.hpp
@@ -34,6 +34,9 @@
# include "socket.hpp"
+
+namespace tmwa
+{
struct Buffer
{
std::vector<Byte> bytes;
@@ -580,5 +583,6 @@ RecvResult recv_packet_repeatonly(Session *s, AString& repeat)
Packet_Head<id> head;
return recv_vpacket<id, 4, repeatsize>(s, head, repeat);
}
+} // namespace tmwa
#endif // TMWA_NET_PACKETS_HPP