Compiling with MinGW 3.1.0-1
Hi,
I had to apply the following patch to make OpenVPN 1.6-beta6 compile with MinGW 3.1.0-1:
config-win32.h +3 -1
@@ -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 srandtypedef 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
Signature · 2 lines
http://cmeerw.org JID: [email protected]... mailto cmeerw at web.de