summaryrefslogtreecommitdiff
path: root/common/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/update.c')
-rw-r--r--common/update.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/update.c b/common/update.c
index 33bffaa89e..ef61790f4b 100644
--- a/common/update.c
+++ b/common/update.c
@@ -24,6 +24,7 @@
#include <malloc.h>
#include <dfu.h>
#include <errno.h>
+#include <mtd/cfi_flash.h>
/* env variable holding the location of the update file */
#define UPDATE_FILE_ENV "updatefile"