ia64/linux-2.6.18-xen.hg

view lib/zlib_inflate/infutil.h @ 740:bf8b1ee634e2

balloon: Fix the build by including <linux/init.h>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Nov 25 11:19:41 2008 +0000 (2008-11-25)
parents 831230e53067
children
line source
1 /* infutil.h -- types and macros common to blocks and codes
2 * Copyright (C) 1995-1998 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
6 /* WARNING: this file should *not* be used by applications. It is
7 part of the implementation of the compression library and is
8 subject to change. Applications should only use zlib.h.
9 */
11 #ifndef _INFUTIL_H
12 #define _INFUTIL_H
14 #include <linux/zlib.h>
16 /* memory allocation for inflation */
18 struct inflate_workspace {
19 struct inflate_state inflate_state;
20 unsigned char working_window[1 << MAX_WBITS];
21 };
23 #define WS(z) ((struct inflate_workspace *)(z->workspace))
25 #endif