[U-Boot] [PATCH 3/9] mkenvimage: Correct the includes and add a missing one
David Wagner
david.wagner at free-electrons.com
Wed Nov 23 21:28:12 CET 2011
compiler.h and u-boot/crc.h need to be included from U-Boot's headers.
stdlib.h was missing.
Signed-off-by: David Wagner <david.wagner at free-electrons.com>
---
tools/mkenvimage.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index da54658..6af0d56 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -28,14 +28,15 @@
#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 "compiler.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <u-boot/crc.h>
+#include "u-boot/crc.h"
#define CRC_SIZE sizeof(uint32_t)
--
1.7.7.3
More information about the U-Boot
mailing list