Browse code

fix includes

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

Trog authored on 2004/03/09 21:28:08
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Mar  9 12:36:10 GMT 2004 (trog)
2
+-----------------------------------
3
+  * clamd/others.c: fix includes
4
+
1 5
 Mon Mar  8 22:26:48 CET 2004 (tk)
2 6
 ---------------------------------
3 7
   * clamav-milter: fixed a typo in Makefile
... ...
@@ -31,8 +31,10 @@
31 31
 #include <time.h>
32 32
 #include <sys/stat.h>
33 33
 #include <errno.h>
34
-
35
-#undef HAVE_POLL
34
+#include <sys/time.h>
35
+#if HAVE_SYS_TYPES_H
36
+#include <sys/types.h>
37
+#endif
36 38
 
37 39
 #if HAVE_POLL
38 40
 #if HAVE_POLL_H