summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/packetinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/packetinfo.h b/src/net/packetinfo.h
index 8c2609439..d1018b10f 100644
--- a/src/net/packetinfo.h
+++ b/src/net/packetinfo.h
@@ -21,7 +21,9 @@
#ifndef NET_PACKETINFO_H
#define NET_PACKETINFO_H
-struct PacketInfo
+#include "localconsts.h"
+
+struct PacketInfo final
{
PacketInfo() :
name(nullptr),