Browse code

Fix compilation error on machines without mmap

git-svn: trunk@2886

Nigel Horne authored on 2007/03/02 01:20:46
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Mar  1 14:25:12 GMT 2007 (njh)
2
+----------------------------------
3
+  * libclamav/pdf.c:	Fix compilation error on machines without mmap()
4
+
1 5
 Thu Mar  1 11:24:40 GMT 2007 (trog)
2 6
 -----------------------------------
3 7
   * libclamav/unrar/unrar.c, unrarvm.c: better fix for bb#350
... ...
@@ -759,6 +759,11 @@ cli_pmemstr(const char *haystack, size_t hs, const char *needle, size_t ns)
759 759
 	return NULL;
760 760
 }
761 761
 #else	/*!HAVE_MMAP*/
762
+
763
+#include "clamav.h"
764
+#include "others.h"
765
+#include "pdf.h"
766
+
762 767
 int
763 768
 cli_pdf(const char *dir, int desc, const cli_ctx *ctx)
764 769
 {