]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-mmap.c
Fixed note about res_alloc() with no resource pool active
[libucw.git] / ucw / fb-mmap.c
index 8f9f0bb28b7d59ac4605d9552d3093012e809a7c..d355a66253d3310428476e39889c015625c1144a 100644 (file)
@@ -9,10 +9,10 @@
 
 #undef LOCAL_DEBUG
 
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/lfs.h"
-#include "ucw/conf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
+#include <ucw/conf.h>
 
 #include <string.h>
 #include <fcntl.h>
@@ -47,7 +47,7 @@ struct fb_mmap {
   uns window_size;
   int mode;
 };
-#define FB_MMAP(f) ((struct fb_mmap *)(f)->is_fastbuf)
+#define FB_MMAP(f) ((struct fb_mmap *)(f))
 
 static void
 bfmm_map_window(struct fastbuf *f)