提交 a31e091a 编写于 作者: J Jean-Christophe PLAGNIOL-VILLARD 提交者: Wolfgang Denk

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: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 ae644c17
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <malloc.h> #include <malloc.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <bzlib.h> #include <bzlib.h>
#include <environment.h> #include <environment.h>
#include <lmb.h> #include <lmb.h>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <common.h> #include <common.h>
#include <malloc.h> #include <malloc.h>
#include <watchdog.h> #include <watchdog.h>
#include <zlib.h> #include <u-boot/zlib.h>
static z_stream stream; static z_stream stream;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/arch/addrspace.h> #include <asm/arch/addrspace.h>
#include <asm/io.h> #include <asm/io.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG) #if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
#include <watchdog.h> #include <watchdog.h>
#endif #endif
#include "zlib.h" #include "u-boot/zlib.h"
#define local static #define local static
#define ZEXPORT /* empty */ #define ZEXPORT /* empty */
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <malloc.h> #include <malloc.h>
#include <zlib.h> #include <u-boot/zlib.h>
#define ZALLOC_ALIGNMENT 16 #define ZALLOC_ALIGNMENT 16
#define HEAD_CRC 2 #define HEAD_CRC 2
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define _Z_UTIL_H #define _Z_UTIL_H
#include "zlib.h" #include "u-boot/zlib.h"
#ifndef local #ifndef local
# define local static # define local static
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/zimage.h> #include <asm/zimage.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <bzlib.h> #include <bzlib.h>
#include <watchdog.h> #include <watchdog.h>
#include <environment.h> #include <environment.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/addrspace.h> #include <asm/addrspace.h>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <command.h> #include <command.h>
#include <image.h> #include <image.h>
#include <malloc.h> #include <malloc.h>
#include <zlib.h> #include <u-boot/zlib.h>
#include <bzlib.h> #include <bzlib.h>
#include <environment.h> #include <environment.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册