summaryrefslogtreecommitdiffstats
path: root/src/commonlib/include/commonlib/rmodule-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib/include/commonlib/rmodule-defs.h')
-rw-r--r--src/commonlib/include/commonlib/rmodule-defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commonlib/include/commonlib/rmodule-defs.h b/src/commonlib/include/commonlib/rmodule-defs.h
index 0922c811fdbc..485d6383bfb1 100644
--- a/src/commonlib/include/commonlib/rmodule-defs.h
+++ b/src/commonlib/include/commonlib/rmodule-defs.h
@@ -17,6 +17,7 @@
#include <stdint.h>
#include <stddef.h>
+#include <compiler.h>
#define RMODULE_MAGIC 0xf8fe
#define RMODULE_VERSION_1 1
@@ -54,6 +55,6 @@ struct rmodule_header {
uint32_t bss_end;
/* Add some room for growth. */
uint32_t padding[4];
-} __attribute__ ((packed));
+} __packed;
#endif /* RMODULE_DEFS_H */