You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2006/06/04 14:06:09 UTC

svn commit: r411550 - in /tomcat/connectors/trunk/jni/native/os/win32: ntpipe.c registry.c system.c

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