summaryrefslogtreecommitdiffstats
path: root/src/file_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_bmp.c')
-rw-r--r--src/file_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_bmp.c b/src/file_bmp.c
index 9a3ef21..7f4afd6 100644
--- a/src/file_bmp.c
+++ b/src/file_bmp.c
@@ -57,7 +57,7 @@ struct bmp_header
uint32_t size;
uint32_t reserved;
uint32_t offset;
-} __attribute__ ((__packed__));
+} __attribute__ ((gcc_struct, __packed__));
static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
{