summaryrefslogtreecommitdiffstats
path: root/src/file_dex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_dex.c')
-rw-r--r--src/file_dex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_dex.c b/src/file_dex.c
index eee1d35..91d2dc9 100644
--- a/src/file_dex.c
+++ b/src/file_dex.c
@@ -70,7 +70,7 @@ struct dex_header
uint32_t class_def_off;
uint32_t data_size;
uint32_t data_off;
-} __attribute__ ((__packed__));
+} __attribute__ ((gcc_struct, __packed__));
static int header_check_dex(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)
{