summaryrefslogtreecommitdiff
path: root/libelf/gelf_xlate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/gelf_xlate.c')
-rw-r--r--libelf/gelf_xlate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/gelf_xlate.c b/libelf/gelf_xlate.c
index f3d3b7a0..479f1436 100644
--- a/libelf/gelf_xlate.c
+++ b/libelf/gelf_xlate.c
@@ -74,7 +74,7 @@ union unaligned
uint16_t u16;
uint32_t u32;
uint64_t u64;
- } __attribute__ ((packed));
+ } attribute_packed;
#define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits)
#define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val)