summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8fe3bd0..ef1fa22 100644
--- a/lib_generic/zlib.c
+++ b/lib_generic/zlib.c
@@ -28,6 +28,8 @@
#include "u-boot/zlib.h"
#include <common.h>
+#undef OFF /* avoid conflicts */
+
/* To avoid a build time warning */
#ifdef STDC
#include <malloc.h>