projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c0f34
)
Mingw-w64 compatibility for VPN helper
author
LRN
<lrn1986@gmail.com>
Sun, 21 Apr 2013 17:53:41 +0000
(17:53 +0000)
committer
LRN
<lrn1986@gmail.com>
Sun, 21 Apr 2013 17:53:41 +0000
(17:53 +0000)
src/vpn/gnunet-helper-vpn-windows.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-helper-vpn-windows.c
b/src/vpn/gnunet-helper-vpn-windows.c
index d1d8aa6e57469cb47b43d09a60233d3fc7412d44..0d31ee3996cbda41809b902f24de1dedafb22b06 100644
(file)
--- a/
src/vpn/gnunet-helper-vpn-windows.c
+++ b/
src/vpn/gnunet-helper-vpn-windows.c
@@
-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"