summaryrefslogtreecommitdiff
path: root/src/encryptedPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryptedPacket.h')
-rw-r--r--src/encryptedPacket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/encryptedPacket.h b/src/encryptedPacket.h
index 4a9b21b..ac67950 100644
--- a/src/encryptedPacket.h
+++ b/src/encryptedPacket.h
@@ -130,12 +130,18 @@ private:
void reinit();
+#ifdef _MSC_VER
+ #pragma pack(push, 1)
+#endif
struct ATTR_PACKED HeaderStruct
{
seq_nr_t seq_nr;
sender_id_t sender_id;
mux_t mux;
};
+#ifdef _MSC_VER
+ #pragma pack(pop)
+#endif
struct HeaderStruct* header_;
u_int8_t * payload_;