diff options
author | David Wagner <david.wagner@free-electrons.com> | 2012-01-13 13:27:35 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-03-27 09:55:51 +0200 |
commit | d1acdae98655af4a9ed1b138325ff172206d1c00 (patch) | |
tree | 7be6b56cac3f9d5f6b9b9b6872a2df4a7878a5dd /tools/mkenvimage.c | |
parent | 8a1b8fc786debc92e73db96800429ca6333fc69b (diff) | |
download | u-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/mkenvimage.c')
-rw-r--r-- | tools/mkenvimage.c | 3 |
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> |