summaryrefslogtreecommitdiff
path: root/common/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/version.c')
-rw-r--r--common/version.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/version.c b/common/version.c
index fe082abbe0..8b1ac5e53d 100644
--- a/common/version.c
+++ b/common/version.c
@@ -5,6 +5,7 @@
/* Embed firmware version number in the binary */
+#include <stdint.h>
#include "common.h"
#include "compile_time_macros.h"
#include "cros_version.h"
@@ -13,8 +14,6 @@
#include "stddef.h"
#include "system.h"
-#include <stdint.h>
-
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION >= 0);
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION <= INT32_MAX);