Browse code

include sys/param.h

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

Tomasz Kojm authored on 2005/03/04 10:23:50
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Fri Mar  4 02:21:42 CET 2005 (tk)
2
+---------------------------------
3
+  * clamd/others.c: include <sys/param.h> to fix compilation error on FreeBSD
4
+		    4.2 (Sergey Smitienko <hunter@comsys.com.ua>
5
+
1 6
 Fri Mar  4 02:08:45 CET 2005 (tk)
2 7
 ---------------------------------
3 8
   * libclamav/scanners.c: close zzip descriptor when tmpfile() fails
... ...
@@ -30,6 +30,11 @@
30 30
 #include <sys/stat.h>
31 31
 #include <errno.h>
32 32
 #include <sys/time.h>
33
+
34
+#if HAVE_SYS_PARAM_H
35
+#include <sys/param.h>
36
+#endif
37
+
33 38
 #include <sys/socket.h>
34 39
 #include <sys/ioctl.h>
35 40