X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Ffb-mmap.c;h=2a8b53720304a94a75ee21ed75d57c20a3d58aa0;hb=315d65b74168b23e820b9dde6166ec19bd048228;hp=5c6d314266f5427e15a09e9f0171c13b41fdadc2;hpb=25dc12124413ef4cc6bc49ec495b1af130f6cbce;p=libucw.git diff --git a/ucw/fb-mmap.c b/ucw/fb-mmap.c index 5c6d3142..2a8b5372 100644 --- a/ucw/fb-mmap.c +++ b/ucw/fb-mmap.c @@ -11,7 +11,7 @@ #include "ucw/lib.h" #include "ucw/fastbuf.h" -#include "ucw/lfs.h" +#include "ucw/io.h" #include "ucw/conf.h" #include @@ -22,6 +22,7 @@ static uns mmap_window_size = 16*CPU_PAGE_SIZE; static uns mmap_extend_size = 4*CPU_PAGE_SIZE; +#ifndef TEST static struct cf_section fbmm_config = { CF_ITEMS { CF_UNS("WindowSize", &mmap_window_size), @@ -34,6 +35,7 @@ static void CONSTRUCTOR fbmm_init_config(void) { cf_declare_section("FBMMap", &fbmm_config, 0); } +#endif struct fb_mmap { struct fastbuf fb;