tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r411550 - in /tomcat/connectors/trunk/jni/native/os/win32: ntpipe.c registry.c system.c
Date Sun, 04 Jun 2006 12:06:09 GMT
Author: mturk
Date: Sun Jun  4 05:06:09 2006
New Revision: 411550

URL: http://svn.apache.org/viewvc?rev=411550&view=rev
Log:
Use includes so that APR with IPV6 does not throw errors.

Modified:
    tomcat/connectors/trunk/jni/native/os/win32/ntpipe.c
    tomcat/connectors/trunk/jni/native/os/win32/registry.c
    tomcat/connectors/trunk/jni/native/os/win32/system.c

Modified: tomcat/connectors/trunk/jni/native/os/win32/ntpipe.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/os/win32/ntpipe.c?rev=411550&r1=411549&r2=411550&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/os/win32/ntpipe.c (original)
+++ tomcat/connectors/trunk/jni/native/os/win32/ntpipe.c Sun Jun  4 05:06:09 2006
@@ -24,8 +24,9 @@
 #define _WIN32_WINNT 0x0500
 #endif
 #define STRICT
-#include <windows.h>
-#include <winsock.h>
+#include <winsock2.h>
+#include <mswsock.h>
+#include <ws2tcpip.h>
 #include <sddl.h>
 
 #include "tcn.h"

Modified: tomcat/connectors/trunk/jni/native/os/win32/registry.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/os/win32/registry.c?rev=411550&r1=411549&r2=411550&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/os/win32/registry.c (original)
+++ tomcat/connectors/trunk/jni/native/os/win32/registry.c Sun Jun  4 05:06:09 2006
@@ -22,7 +22,9 @@
 #ifndef _WIN32_WINNT
 #define _WIN32_WINNT 0x0500
 #endif
-#include <windows.h>
+#include <winsock2.h>
+#include <mswsock.h>
+#include <ws2tcpip.h>
 #include <shlwapi.h>
 
 #include "apr.h"

Modified: tomcat/connectors/trunk/jni/native/os/win32/system.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/os/win32/system.c?rev=411550&r1=411549&r2=411550&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/os/win32/system.c (original)
+++ tomcat/connectors/trunk/jni/native/os/win32/system.c Sun Jun  4 05:06:09 2006
@@ -22,8 +22,9 @@
 #ifndef _WIN32_WINNT
 #define _WIN32_WINNT 0x0500
 #endif
-#include <windows.h>
-#include <winsock.h>
+#include <winsock2.h>
+#include <mswsock.h>
+#include <ws2tcpip.h>
 #include "apr.h"
 #include "apr_pools.h"
 #include "apr_poll.h"



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message