Browse code

Fix compilation error on earlier OpenBSDs

git-svn: trunk@2669

Nigel Horne authored on 2007/02/01 20:50:29
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Thu Feb  1 11:50:00 GMT 2007
2
+----------------------------------
3
+  * libclamav/hashtab.c:	Fix compilation error on earlier OpenBSDs
4
+  		(patch from Edwin)
5
+
1 6
 Thu Feb  1 08:02:50 GMT 2007 (njh)
2 7
 ----------------------------------
3 8
   * libclamav/entconv.c:	Fix compilation error on earlier OpenBSDs
... ...
@@ -24,14 +24,14 @@
24 24
 
25 25
 #include <stdlib.h>
26 26
 #include <stdio.h>
27
-#include <stdint.h>
28 27
 #include <string.h>
29 28
 
29
+#include "cltypes.h"
30 30
 #include "clamav.h"
31 31
 #include "others.h"
32 32
 #include "hashtab.h"
33 33
 
34
-static const size_t prime_list[] = 
34
+static const size_t prime_list[] =
35 35
 {
36 36
      53ul,         97ul,         193ul,       389ul,       769ul,
37 37
      1543ul,       3079ul,       6151ul,      12289ul,     24593ul,