HKDF (does not work yet)
[oweals/gnunet.git] / src / include / gnunet_common.h
index 1a6111e27566fd98a690626993f1d4089bf9d574..0639ba0a275a10c3c2b4a2e38c709d79c62258c6 100644 (file)
 #ifndef GNUNET_COMMON_H
 #define GNUNET_COMMON_H
 
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef MINGW
+#include "winproc.h"
+#endif
+
 /**
  * Version of the API (for entire gnunetutil.so library).
  */
 #define GNUNET_UTIL_VERSION 0x00000000
 
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/ip.h> /* superset of previous */
-
 /**
  * Name used for "services" that are actually command-line
  * programs invoked by the end user.