summaryrefslogtreecommitdiff
path: root/common/shmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/shmalloc.c')
-rw-r--r--common/shmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/shmalloc.c b/common/shmalloc.c
index 37b7b2c736..6cbf213227 100644
--- a/common/shmalloc.c
+++ b/common/shmalloc.c
@@ -5,6 +5,8 @@
*/
/* Malloc/free memory module for Chrome EC */
+#include <stdint.h>
+
#include "common.h"
#include "hooks.h"
#include "link_defs.h"
@@ -13,8 +15,6 @@
#include "task.h"
#include "util.h"
-#include <stdint.h>
-
static struct mutex shmem_lock;
#ifndef TEST_SHMALLOC