mkenvimage: Correct an include and add a missing one
authorDavid Wagner <david.wagner@free-electrons.com>
Fri, 13 Jan 2012 13:27:35 +0000 (13:27 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 27 Mar 2012 07:55:51 +0000 (09:55 +0200)
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>
tools/mkenvimage.c

index d34445642766d9227af7c6588effbc54481fda05..c1915795ea2167236617bce586ed31f159024f55 100644 (file)
 #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>