summaryrefslogtreecommitdiff
path: root/lib_generic
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-04 12:49:11 +0200
committerWolfgang Denk <wd@denx.de>2009-04-04 15:37:54 +0200
commita31e091ad70915278fb15b79d6ae53ea2d44b251 (patch)
tree9019ccfe469f9f9e9b7eb4e0ec76031322bb00d5 /lib_generic
parentae644c178f097874a92a6d934f364985fc7e075a (diff)
downloadu-boot-imx-a31e091ad70915278fb15b79d6ae53ea2d44b251.zip
u-boot-imx-a31e091ad70915278fb15b79d6ae53ea2d44b251.tar.gz
u-boot-imx-a31e091ad70915278fb15b79d6ae53ea2d44b251.tar.bz2
rename include/zlib.h to include/u-boot/zlib.h
Some systems have zlib.h installed in /usr/include/. This isn't the desired file for u-boot code - we want the one in include/zlib.h. This rename will avoid the conflict. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_generic')
-rw-r--r--lib_generic/crc32.c2
-rw-r--r--lib_generic/gunzip.c2
-rw-r--r--lib_generic/zlib.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index b6a7a91..3927ce1 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -17,7 +17,7 @@
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
#include <watchdog.h>
#endif
-#include "zlib.h"
+#include "u-boot/zlib.h"
#define local static
#define ZEXPORT /* empty */
diff --git a/lib_generic/gunzip.c b/lib_generic/gunzip.c
index 5bcf5b7..01a4031 100644
--- a/lib_generic/gunzip.c
+++ b/lib_generic/gunzip.c
@@ -26,7 +26,7 @@
#include <command.h>
#include <image.h>
#include <malloc.h>
-#include <zlib.h>
+#include <u-boot/zlib.h>
#define ZALLOC_ALIGNMENT 16
#define HEAD_CRC 2
diff --git a/lib_generic/zlib.c b/lib_generic/zlib.c
index 2b01c8f..d1cd44c 100644
--- a/lib_generic/zlib.c
+++ b/lib_generic/zlib.c
@@ -27,7 +27,7 @@
#define _Z_UTIL_H
-#include "zlib.h"
+#include "u-boot/zlib.h"
#ifndef local
# define local static