diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-13 15:41:03 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-13 15:41:03 +0000 |
commit | 6d549a2b960c7a46ad4d9f9c42c5239b0167ad92 (patch) | |
tree | 4f9f2042bb88cbff15210e6b99e60a472aae1063 /src | |
parent | 2e9791b5b713120238ea95113537fa55ff49b95d (diff) | |
download | gnunet-6d549a2b960c7a46ad4d9f9c42c5239b0167ad92.tar.gz gnunet-6d549a2b960c7a46ad4d9f9c42c5239b0167ad92.zip |
Should now compile under windows:
- removed #include <arpa/inet.h>
- MINGW32: alloca() is defined in malloc.h
Diffstat (limited to 'src')
-rw-r--r-- | src/vpn/gnunet-vpn-pretty-print.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vpn/gnunet-vpn-pretty-print.c b/src/vpn/gnunet-vpn-pretty-print.c index 760be08aa..dd964a189 100644 --- a/src/vpn/gnunet-vpn-pretty-print.c +++ b/src/vpn/gnunet-vpn-pretty-print.c | |||
@@ -2,13 +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 | #include <malloc.h> | ||
5 | #ifndef _WIN32 | 6 | #ifndef _WIN32 |
6 | #include <arpa/inet.h> | 7 | #include <arpa/inet.h> |
7 | #else | 8 | #else |
8 | #include <ws2tcpip.h> | 9 | #include <ws2tcpip.h> |
9 | #endif | 10 | #endif |
10 | |||
11 | #include <arpa/inet.h> | ||
12 | 11 | ||
13 | #include "gnunet-vpn-packet.h" | 12 | #include "gnunet-vpn-packet.h" |
14 | 13 | ||