summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@free-electrons.com>2012-01-13 13:27:35 +0000
committerAnatolij Gustschin <agust@denx.de>2012-03-27 09:55:51 +0200
commitd1acdae98655af4a9ed1b138325ff172206d1c00 (patch)
tree7be6b56cac3f9d5f6b9b9b6872a2df4a7878a5dd /tools
parent8a1b8fc786debc92e73db96800429ca6333fc69b (diff)
downloadu-boot-imx-d1acdae98655af4a9ed1b138325ff172206d1c00.zip
u-boot-imx-d1acdae98655af4a9ed1b138325ff172206d1c00.tar.gz
u-boot-imx-d1acdae98655af4a9ed1b138325ff172206d1c00.tar.bz2
mkenvimage: Correct an include and add a missing one
compiler.h needs to be included from U-Boot's headers. Also, group U-Boot-specific includes together stdlib.h was missing. Signed-off-by: David Wagner <david.wagner@free-electrons.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkenvimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index d344456..c191579 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>