diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-08 08:00:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-08 08:00:05 +0000 |
commit | 94c863710f042b258047ad3c8e3f4f48154b738b (patch) | |
tree | 5ee5002e91ed1cdac0bc33b7f5928ebba9ba5740 /src/vpn | |
parent | a615cf5b1e6486a28f6e913f8320dca703eaae6e (diff) | |
download | gnunet-94c863710f042b258047ad3c8e3f4f48154b738b.tar.gz gnunet-94c863710f042b258047ad3c8e3f4f48154b738b.zip |
W32 porting work by LRN
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-vpn-helper-p.h | 1 | ||||
-rw-r--r-- | src/vpn/gnunet-vpn-pretty-print.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/vpn/gnunet-vpn-helper-p.h b/src/vpn/gnunet-vpn-helper-p.h index d48755df3..fa3546123 100644 --- a/src/vpn/gnunet-vpn-helper-p.h +++ b/src/vpn/gnunet-vpn-helper-p.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef GN_VPN_HELPER_P_H | 1 | #ifndef GN_VPN_HELPER_P_H |
2 | #define GN_VPN_HELPER_P_H | 2 | #define GN_VPN_HELPER_P_H |
3 | 3 | ||
4 | #include "platform.h" | ||
4 | #include "gnunet_common.h" | 5 | #include "gnunet_common.h" |
5 | 6 | ||
6 | struct suid_packet { | 7 | struct suid_packet { |
diff --git a/src/vpn/gnunet-vpn-pretty-print.c b/src/vpn/gnunet-vpn-pretty-print.c index ba842602a..760be08aa 100644 --- a/src/vpn/gnunet-vpn-pretty-print.c +++ b/src/vpn/gnunet-vpn-pretty-print.c | |||
@@ -2,6 +2,12 @@ | |||
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <string.h> | 3 | #include <string.h> |
4 | #include <ctype.h> | 4 | #include <ctype.h> |
5 | #ifndef _WIN32 | ||
6 | #include <arpa/inet.h> | ||
7 | #else | ||
8 | #include <ws2tcpip.h> | ||
9 | #endif | ||
10 | |||
5 | #include <arpa/inet.h> | 11 | #include <arpa/inet.h> |
6 | 12 | ||
7 | #include "gnunet-vpn-packet.h" | 13 | #include "gnunet-vpn-packet.h" |