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, 2 insertions, 1 deletions
diff --git a/common/version.c b/common/version.c
index 8b1ac5e53d..fe082abbe0 100644
--- a/common/version.c
+++ b/common/version.c
@@ -5,7 +5,6 @@
/* Embed firmware version number in the binary */
-#include <stdint.h>
#include "common.h"
#include "compile_time_macros.h"
#include "cros_version.h"
@@ -14,6 +13,8 @@
#include "stddef.h"
#include "system.h"
+#include <stdint.h>
+
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION >= 0);
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION <= INT32_MAX);