Browse code

Fix compilation errors under win32.

git-svn: trunk@2689

aCaB authored on 2007/02/10 05:14:50
Showing 3 changed files
... ...
@@ -1,3 +1,6 @@
1
+Fri Feb  9 21:12:28 CET 2007 (acab)
2
+  * libclamav: Fix win32 compilation error in upack and mew - thanks Nigel
3
+  
1 4
 Fri Feb  9 17:57:15 GMT 2007 (njh)
2 5
 ----------------------------------
3 6
   * libclamav/lockdb.c:	Fix compilation error, bug 234
... ...
@@ -31,11 +31,21 @@
31 31
 #endif
32 32
 
33 33
 #include <stdio.h>
34
+#ifdef        HAVE_STDLIB_H
34 35
 #include <stdlib.h>
36
+#endif
37
+#ifdef        HAVE_SYS_TYPES_H
35 38
 #include <sys/types.h>
39
+#endif
40
+#ifdef        HAVE_SYS_STAT_H
36 41
 #include <sys/stat.h>
42
+#endif
43
+#ifdef        HAVE_UNISTD_H
37 44
 #include <unistd.h>
45
+#endif
46
+#ifdef        HAVE_STRING_H
38 47
 #include <string.h>
48
+#endif
39 49
 
40 50
 #include "cltypes.h"
41 51
 #include "pe.h"
... ...
@@ -28,11 +28,21 @@
28 28
 #endif
29 29
 
30 30
 #include <stdio.h>
31
+#ifdef        HAVE_STDLIB_H
31 32
 #include <stdlib.h>
33
+#endif
34
+#ifdef        HAVE_SYS_TYPES_H
32 35
 #include <sys/types.h>
36
+#endif
37
+#ifdef        HAVE_SYS_STAT_H
33 38
 #include <sys/stat.h>
39
+#endif
40
+#ifdef        HAVE_UNISTD_H
34 41
 #include <unistd.h>
42
+#endif
43
+#ifdef        HAVE_STRING_H
35 44
 #include <string.h>
45
+#endif
36 46
 
37 47
 #include "cltypes.h"
38 48
 #include "pe.h"