Browse code

Now compiles on AIX and OSF

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@810 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/08/30 20:37:47
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Mon Aug 30 12:36:49 BST 2004 (njh)
2
+----------------------------------
3
+  * libclamav/blob.c:	Fix compilation errors on AIX and OSF reported by
4
+				Fajar A. Nugraha <fajar@telkom.co.id>
5
+
1 6
 Sat Aug 28 20:25:44 CEST 2004 (tk)
2 7
 ----------------------------------
3 8
   * libclamav/filetypes.c: Improve e-mail detection (thanks to Andy Igoshin
... ...
@@ -16,6 +16,9 @@
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  *
18 18
  * $Log: blob.c,v $
19
+ * Revision 1.20  2004/08/30 11:35:45  nigelhorne
20
+ * Now compiles on AIX and OSF
21
+ *
19 22
  * Revision 1.19  2004/08/27 16:39:38  nigelhorne
20 23
  * Fix MACOS/X filenames
21 24
  *
... ...
@@ -59,7 +62,7 @@
59 59
  * Change LOG to Log
60 60
  *
61 61
  */
62
-static	char	const	rcsid[] = "$Id: blob.c,v 1.19 2004/08/27 16:39:38 nigelhorne Exp $";
62
+static	char	const	rcsid[] = "$Id: blob.c,v 1.20 2004/08/30 11:35:45 nigelhorne Exp $";
63 63
 
64 64
 #if HAVE_CONFIG_H
65 65
 #include "clamav-config.h"
... ...
@@ -69,6 +72,7 @@ static	char	const	rcsid[] = "$Id: blob.c,v 1.19 2004/08/27 16:39:38 nigelhorne E
69 69
 #include <stdlib.h>
70 70
 #include <string.h>
71 71
 #include <errno.h>
72
+#include <fcntl.h>
72 73
 
73 74
 #include <sys/param.h>        /* for NAME_MAX */
74 75