diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
commit | bc83770144cc547a917fc27f0f572859ae203fce (patch) | |
tree | dd569a25e9832cdc91838af49f4ad76b4f9b83d1 /src/include/platform.h | |
parent | 22d94c49ad387d3b7e373a955495ae39362b801a (diff) | |
download | gnunet-bc83770144cc547a917fc27f0f572859ae203fce.tar.gz gnunet-bc83770144cc547a917fc27f0f572859ae203fce.zip |
LRN patch from Mantis #1615
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 1b279d123..cc2aa03ae 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -78,6 +78,7 @@ | |||
78 | 78 | ||
79 | #ifdef _MSC_VER | 79 | #ifdef _MSC_VER |
80 | #include <Winsock2.h> | 80 | #include <Winsock2.h> |
81 | #include <ws2tcpip.h> | ||
81 | #else | 82 | #else |
82 | #ifndef MINGW | 83 | #ifndef MINGW |
83 | #include <netdb.h> | 84 | #include <netdb.h> |
@@ -108,6 +109,9 @@ | |||
108 | #include <stdarg.h> | 109 | #include <stdarg.h> |
109 | #include <errno.h> | 110 | #include <errno.h> |
110 | #include <signal.h> | 111 | #include <signal.h> |
112 | #ifdef WINDOWS | ||
113 | #include <malloc.h> /* for alloca(), on other OSes it's in stdlib.h */ | ||
114 | #endif | ||
111 | #ifndef _MSC_VER | 115 | #ifndef _MSC_VER |
112 | #include <unistd.h> /* KLB_FIX */ | 116 | #include <unistd.h> /* KLB_FIX */ |
113 | #endif | 117 | #endif |