git-svn: trunk@2164
Nigel Horne authored on 2006/08/02 01:59:10... | ... |
@@ -18,14 +18,28 @@ |
18 | 18 |
* |
19 | 19 |
*/ |
20 | 20 |
|
21 |
+#ifdef _MSC_VER |
|
22 |
+#include <windows.h> |
|
23 |
+#include <winsock.h> |
|
24 |
+#endif |
|
25 |
+ |
|
21 | 26 |
#if HAVE_CONFIG_H |
22 | 27 |
#include "clamav-config.h" |
23 | 28 |
#endif |
24 | 29 |
|
25 | 30 |
#include <stdio.h> |
31 |
+ |
|
32 |
+#ifdef HAVE_STRING_H |
|
26 | 33 |
#include <string.h> |
34 |
+#endif |
|
35 |
+ |
|
36 |
+#ifdef HAVE_SYS_TYPES_H |
|
27 | 37 |
#include <sys/types.h> |
38 |
+#endif |
|
39 |
+ |
|
40 |
+#ifndef C_WINDOWS |
|
28 | 41 |
#include <netdb.h> |
42 |
+#endif |
|
29 | 43 |
|
30 | 44 |
#ifdef CL_THREAD_SAFE |
31 | 45 |
#include <pthread.h> |