X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Ffb-mem.c;h=71b171c7c994e21e1ba9ab7ad2110f8e7376dda9;hb=f1149d882df3b1bfd12a33cef49430f559c3e0ee;hp=92e3b4972a4e358093762b5c83c077d51ebcd2ee;hpb=ba1c173f544383aa6553a75dee6e6858d8f243a4;p=libucw.git diff --git a/ucw/fb-mem.c b/ucw/fb-mem.c index 92e3b497..71b171c7 100644 --- a/ucw/fb-mem.c +++ b/ucw/fb-mem.c @@ -7,8 +7,8 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" +#include +#include #include @@ -30,7 +30,7 @@ struct fb_mem { struct memstream *stream; struct msblock *block; }; -#define FB_MEM(f) ((struct fb_mem *)(f)->is_fastbuf) +#define FB_MEM(f) ((struct fb_mem *)(f)) static int fbmem_refill(struct fastbuf *f)