diff --git a/libraries/SITL/SITL.h b/libraries/SITL/SITL.h
index 71a6f6fafa42aaa4197f693c914eec2bc33fed51..01e2f897d875aa40ddd878375689333640738668 100644
--- a/libraries/SITL/SITL.h
+++ b/libraries/SITL/SITL.h
@@ -8,8 +8,7 @@
 #include <AP_Math.h>
 #include <GCS_MAVLink.h>
 
-#pragma pack(push,1)
-struct sitl_fdm {
+struct PACKED sitl_fdm {
 	// this is the packet sent by the simulator
 	// to the APM executable to update the simulator state
 	// All values are little-endian
@@ -23,7 +22,6 @@ struct sitl_fdm {
 	double airspeed; // m/s
 	uint32_t magic; // 0x4c56414f
 };
-#pragma pack(pop)
 
 
 class SITL