summaryrefslogtreecommitdiff
path: root/util/marvell/doimage_mv/doimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/marvell/doimage_mv/doimage.h')
-rw-r--r--util/marvell/doimage_mv/doimage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/marvell/doimage_mv/doimage.h b/util/marvell/doimage_mv/doimage.h
index d0000c2731..dab236b27f 100644
--- a/util/marvell/doimage_mv/doimage.h
+++ b/util/marvell/doimage_mv/doimage.h
@@ -19,6 +19,7 @@ disclaimer.
#define _INC_DOIMAGE_H
#include <sys/types.h>
+#include <commonlib/bsd/helpers.h>
/* use the same version as in "bootrom.inc" file */
#define VERSION_NUMBER "2.20"
@@ -57,8 +58,6 @@ disclaimer.
#define O_BINARY 0
#endif
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
-
typedef enum {
IMG_SATA,
IMG_UART,