Browse code

fix compilation error on old linux systems

git-svn: trunk@1829

Tomasz Kojm authored on 2006/01/25 00:54:25
Showing 4 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Jan 24 16:52:21 CET 2006 (tk)
2
+---------------------------------
3
+  * libclamav/unrar: fix compilation error on old linux systems
4
+
1 5
 Mon Jan 23 17:09:26 CET 2006 (acab)
2 6
 -----------------------------------
3 7
   * libclamav:		Fixed more warnings
... ...
@@ -28,7 +28,6 @@
28 28
 #include <sys/stat.h>
29 29
 #include <fcntl.h>
30 30
 #include <stdio.h>
31
-#include <inttypes.h>
32 31
 #include <unistd.h>
33 32
 #include <errno.h>
34 33
 #include <stdlib.h>
... ...
@@ -42,6 +41,7 @@
42 42
 #include "unrar15.h"
43 43
 #include "clamav.h"
44 44
 #include "others.h"
45
+#include "cltypes.h"
45 46
 
46 47
 #define int64to32(x) ((uint)(x))
47 48
 
... ...
@@ -23,7 +23,7 @@
23 23
 #ifndef UNRAR_PPM_H
24 24
 #define UNRAR_PPM_H 1
25 25
 
26
-#include <inttypes.h>
26
+#include "cltypes.h"
27 27
 
28 28
 #define N1 4
29 29
 #define N2 4
... ...
@@ -23,7 +23,7 @@
23 23
 #ifndef _RAR_VM_
24 24
 #define _RAR_VM_
25 25
 
26
-#include <inttypes.h>
26
+#include "cltypes.h"
27 27
 #include "unrarcmd.h"
28 28
 
29 29
 #define FALSE (0)