Hi,

I had to apply the following patch to make OpenVPN 1.6-beta6 compile with
MinGW 3.1.0-1:

diff -ur openvpn-1.6_beta6.orig/config-win32.h openvpn-1.6_beta6/config-win32.h
--- openvpn-1.6_beta6.orig/config-win32.h       Thu Feb 05 21:08:37 2004
+++ openvpn-1.6_beta6/config-win32.h    Mon Feb 16 20:47:37 2004
@@ -36,6 +36,8 @@

 #include <windows.h>
 #include <winsock2.h>
+#include <unistd.h>
+#include <fcntl.h>

 #define sleep(x) Sleep((x)*1000)

@@ -43,7 +45,7 @@
 #define srandom srand

 typedef unsigned int in_addr_t;
-typedef unsigned int ssize_t;
+/* typedef unsigned int ssize_t; */

 /* Should we print debug info from driver? */
 /* #define TAP_WIN32_DEBUG */


bye, Christof

-- 
http://cmeerw.org                                 JID: cme...@jabber.at
mailto cmeerw at web.de

Reply via email to