Browse code

winsock.h must be included before clamav-config.h to compile with VS

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

Tomasz Kojm authored on 2006/09/14 07:06:13
Showing 6 changed files
... ...
@@ -17,14 +17,14 @@
17 17
  *  MA 02110-1301, USA.
18 18
  */
19 19
 
20
-#if HAVE_CONFIG_H
21
-#include "clamav-config.h"
22
-#endif
23
-
24 20
 #ifdef	_MSC_VER
25 21
 #include <winsock.h>
26 22
 #endif
27 23
 
24
+#if HAVE_CONFIG_H
25
+#include "clamav-config.h"
26
+#endif
27
+
28 28
 #include <stdio.h>
29 29
 #include <stdlib.h>
30 30
 #include <string.h>
... ...
@@ -17,14 +17,14 @@
17 17
  *  MA 02110-1301, USA.
18 18
  */
19 19
 
20
-#if HAVE_CONFIG_H
21
-#include "clamav-config.h"
22
-#endif
23
-
24 20
 #ifdef	_MSC_VER
25 21
 #include <winsock.h>
26 22
 #endif
27 23
 
24
+#if HAVE_CONFIG_H
25
+#include "clamav-config.h"
26
+#endif
27
+
28 28
 #include <stdio.h>
29 29
 #include <stdarg.h>
30 30
 #include <stdlib.h>
... ...
@@ -17,14 +17,14 @@
17 17
  *  MA 02110-1301, USA.
18 18
  */
19 19
 
20
-#if HAVE_CONFIG_H
21
-#include "clamav-config.h"
22
-#endif
23
-
24 20
 #ifdef	_MSC_VER
25 21
 #include <winsock.h>
26 22
 #endif
27 23
 
24
+#if HAVE_CONFIG_H
25
+#include "clamav-config.h"
26
+#endif
27
+
28 28
 #include <stdio.h>
29 29
 #include <stdlib.h>
30 30
 #include <string.h>
... ...
@@ -18,14 +18,14 @@
18 18
  *  MA 02110-1301, USA.
19 19
  */
20 20
 
21
-#if HAVE_CONFIG_H
22
-#include "clamav-config.h"
23
-#endif
24
-
25 21
 #ifdef	_MSC_VER
26 22
 #include <winsock.h>
27 23
 #endif
28 24
 
25
+#if HAVE_CONFIG_H
26
+#include "clamav-config.h"
27
+#endif
28
+
29 29
 #include <pthread.h>
30 30
 #include <errno.h>
31 31
 #include <signal.h>
... ...
@@ -17,14 +17,14 @@
17 17
  *  MA 02110-1301, USA.
18 18
  */
19 19
 
20
-#if HAVE_CONFIG_H
21
-#include "clamav-config.h"
22
-#endif
23
-
24 20
 #ifdef	_MSC_VER
25 21
 #include <winsock.h>
26 22
 #endif
27 23
 
24
+#if HAVE_CONFIG_H
25
+#include "clamav-config.h"
26
+#endif
27
+
28 28
 #include <stdio.h>
29 29
 #include <stdlib.h>
30 30
 #include <string.h>
... ...
@@ -17,14 +17,14 @@
17 17
  *  MA 02110-1301, USA.
18 18
  */
19 19
 
20
-#if HAVE_CONFIG_H
21
-#include "clamav-config.h"
22
-#endif
23
-
24 20
 #ifdef	_MSC_VER
25 21
 #include <winsock.h>
26 22
 #endif
27 23
 
24
+#if HAVE_CONFIG_H
25
+#include "clamav-config.h"
26
+#endif
27
+
28 28
 #include <stdio.h>
29 29
 #include <string.h>
30 30
 #include <sys/types.h>