Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / lib / zlib / zlib.h
diff --git a/qemu/roms/u-boot/lib/zlib/zlib.h b/qemu/roms/u-boot/lib/zlib/zlib.h
new file mode 100644 (file)
index 0000000..556be32
--- /dev/null
@@ -0,0 +1,20 @@
+/* Glue between u-boot and upstream zlib */
+#ifndef __GLUE_ZLIB_H__
+#define __GLUE_ZLIB_H__
+
+#include <common.h>
+#include <compiler.h>
+#include <asm/unaligned.h>
+#include <watchdog.h>
+#include "u-boot/zlib.h"
+
+/* avoid conflicts */
+#undef OFF
+#undef ASMINF
+#undef POSTINC
+#undef NO_GZIP
+#define GUNZIP
+#undef STDC
+#undef NO_ERRNO_H
+
+#endif