gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26958 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r26958 - gnunet/src/vpn
Date: Sun, 21 Apr 2013 19:53:41 +0200

Author: LRN
Date: 2013-04-21 19:53:41 +0200 (Sun, 21 Apr 2013)
New Revision: 26958

Modified:
   gnunet/src/vpn/gnunet-helper-vpn-windows.c
Log:
Mingw-w64 compatibility for VPN helper

Modified: gnunet/src/vpn/gnunet-helper-vpn-windows.c
===================================================================
--- gnunet/src/vpn/gnunet-helper-vpn-windows.c  2013-04-21 17:53:28 UTC (rev 
26957)
+++ gnunet/src/vpn/gnunet-helper-vpn-windows.c  2013-04-21 17:53:41 UTC (rev 
26958)
@@ -31,11 +31,16 @@
  */
 
 #include <stdio.h>
+#include <Winsock2.h>
 #include <windows.h>
 #include <setupapi.h>
+#ifndef __MINGW64_VERSION_MAJOR
 #include <ddk/cfgmgr32.h>
 #include <ddk/newdev.h>
-#include <Winsock2.h>
+#else
+#include <cfgmgr32.h>
+#include <newdev.h>
+#endif
 #include <time.h>
 #include "platform.h"
 #include "tap-windows.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]