]> git.proxmox.com Git - qemu.git/blobdiff - block/qcow2-snapshot.c
Use new macro QEMU_PACKED for packed structures
[qemu.git] / block / qcow2-snapshot.c
index 3e6bf8b6f3eac0e782c2841add7097c08f82e1a5..bdc33ba94c3f31535f698b85cf33b81aa8c32f8e 100644 (file)
@@ -26,7 +26,7 @@
 #include "block_int.h"
 #include "block/qcow2.h"
 
-typedef struct __attribute__((packed)) QCowSnapshotHeader {
+typedef struct QEMU_PACKED QCowSnapshotHeader {
     /* header is 8 byte aligned */
     uint64_t l1_table_offset;