Browse code

bb #9053: ClamAV 0.98 can't be compiled on FreeBSD 7

David Raynor authored on 2013/10/03 04:02:34
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Oct 2 11:22:40 2013 EDT 2013 (dar)
2
+------------------------------------
3
+ * bb #9053: ClamAV 0.98 can't be compiled on FreeBSD 7
4
+
1 5
 Mon Sep 30 11:04:58 2013 EDT 2013 (dar)
2 6
 ------------------------------------
3 7
  * bb #9017: tomsfastmath warning with zLinux on s390x
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- *  Copyright (C) 2007-2009 Sourcefire, Inc.
2
+ *  Copyright (C) 2007-2013 Sourcefire, Inc.
3 3
  *
4 4
  *  Authors: Tomasz Kojm
5 5
  *
... ...
@@ -25,7 +25,12 @@
25 25
 #include "clamav-config.h"
26 26
 #endif
27 27
 
28
+#if HAVE_STDLIB_H
28 29
 #include <stdlib.h>
30
+#endif
31
+#if HAVE_SYS_TYPES_H
32
+#include <sys/types.h>
33
+#endif
29 34
 
30 35
 #ifdef __GNUC__
31 36
 int mdprintf(int desc, const char *str, ...) __attribute__((format(printf, 2,3)));