summaryrefslogtreecommitdiffstats
path: root/include/bzlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bzlib.h')
-rw-r--r--include/bzlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bzlib.h b/include/bzlib.h
index 2d864d56b7..19314f8f66 100644
--- a/include/bzlib.h
+++ b/include/bzlib.h
@@ -68,7 +68,10 @@
/* Configure for U-Boot environment */
#define BZ_NO_STDIO
+
+#ifndef CONFIG_SANDBOX
#define BZ_NO_COMPRESS
+#endif
/* End of configuration for U-Boot environment */
#ifdef __cplusplus
OpenPOWER on IntegriCloud