aboutsummaryrefslogtreecommitdiff
path: root/lib_generic/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/zlib.c')
-rw-r--r--lib_generic/zlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_generic/zlib.c b/lib_generic/zlib.c
index 572196865a5..26e5af1d8e8 100644
--- a/lib_generic/zlib.c
+++ b/lib_generic/zlib.c
@@ -30,6 +30,8 @@
#include <compiler.h>
#include <asm/unaligned.h>
#include "u-boot/zlib.h"
+#undef OFF /* avoid conflicts */
+
/* To avoid a build time warning */
#ifdef STDC
#include <malloc.h>