aboutsummaryrefslogtreecommitdiff
path: root/tools/ifwitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ifwitool.c')
-rw-r--r--tools/ifwitool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ifwitool.c b/tools/ifwitool.c
index 2e020a82824..543e9d4e702 100644
--- a/tools/ifwitool.c
+++ b/tools/ifwitool.c
@@ -10,7 +10,9 @@
#include <getopt.h>
#include "os_support.h"
+#ifndef __packed
#define __packed __attribute__((packed))
+#endif
#define KiB 1024
#define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a) - 1)
#define __ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask))