W32 porting work by LRN
authorChristian Grothoff <christian@grothoff.org>
Wed, 8 Sep 2010 08:00:05 +0000 (08:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 8 Sep 2010 08:00:05 +0000 (08:00 +0000)
src/include/gnunet_common.h
src/vpn/gnunet-vpn-helper-p.h
src/vpn/gnunet-vpn-pretty-print.c

index 550b44c4416c7fd88e92a460828002fcd2769371..7f8a78f54587b6219a393732f4c2d1cb07bdf4ba 100644 (file)
 #ifdef MINGW
 #include "winproc.h"
 #endif
-
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 /**
  * Version of the API (for entire gnunetutil.so library).
  */
index d48755df34a91daeb470fc566ad333dcd7924a02..fa3546123c71f4bf78246f38d1c20767cabbec74 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef GN_VPN_HELPER_P_H
 #define GN_VPN_HELPER_P_H
 
+#include "platform.h"
 #include "gnunet_common.h"
 
 struct suid_packet {
index ba842602abbd05131c81a74595931368e9f66a1c..760be08aabda23e6562d4541eecc90bfa6eaeba9 100644 (file)
@@ -2,6 +2,12 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#ifndef _WIN32
+ #include <arpa/inet.h>
+#else
+#include <ws2tcpip.h>
+#endif
 #include <arpa/inet.h>
 
 #include "gnunet-vpn-packet.h"