diff --git a/src/struct.h b/src/struct.h index 4198d24..0bcd407 100644 --- a/src/struct.h +++ b/src/struct.h @@ -1,6 +1,9 @@ #ifndef STRUCT_H_INCLUDED #define STRUCT_H_INCLUDED +#pragma pack(push) +#pragma pack(1) + struct IPCMemoryInfo { uint8_t airIoStatus[6]; @@ -76,4 +79,6 @@ struct PacketPing uint64_t remotePingTime; }; +#pragma pack(pop) + #endif // STRUCT_H_INCLUDED