summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/mkenvimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index d344456427..c1915795ea 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -31,13 +31,14 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
-#include <compiler.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include "compiler.h"
#include <u-boot/crc.h>
#include <version.h>