]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lizard-test.c
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
[libucw.git] / lib / lizard-test.c
index 73200d19dcf9bb4a926335ecca1b87fb67f0d03d..137cdc79249a5b7d725ca9b70978f46f3fdaa06e 100644 (file)
@@ -1,12 +1,12 @@
 #include "lib/lib.h"
 #include "lib/lib.h"
-#include "lib/conf.h"
+#include "lib/getopt.h"
 #include "lib/fastbuf.h"
 #include "lib/fastbuf.h"
+#include "lib/ff-binary.h"
 #include "lib/lizard.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include "lib/lizard.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <sys/user.h>
 
 static char *options = CF_SHORT_OPTS "cdtx";
 static char *help = "\
 
 static char *options = CF_SHORT_OPTS "cdtx";
 static char *help = "\
@@ -105,8 +105,8 @@ main(int argc, char **argv)
   else
   {
     int smaller_li;
   else
   {
     int smaller_li;
-    if (li >= (int) PAGE_SIZE)
-      smaller_li = li - PAGE_SIZE;
+    if (li >= (int) CPU_PAGE_SIZE)
+      smaller_li = li - CPU_PAGE_SIZE;
     else
       smaller_li = 0;
     struct lizard_buffer *buf = lizard_alloc();
     else
       smaller_li = 0;
     struct lizard_buffer *buf = lizard_alloc();