From 62410ce9504ab1aaea52c59a0b9b2b95e7885778 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Tue, 14 Aug 2007 20:59:55 +0000 Subject: fix MinGW --- src/daemon/daemontest.c | 6 +++++- src/daemon/daemontest_get.c | 5 ++++- src/daemon/daemontest_long_header.c | 5 ++++- src/daemon/daemontest_post.c | 5 ++++- src/daemon/daemontest_put.c | 5 ++++- src/daemon/internal.h | 2 +- 6 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/daemon/daemontest.c b/src/daemon/daemontest.c index 7b4ad4de..53f56989 100644 --- a/src/daemon/daemontest.c +++ b/src/daemon/daemontest.c @@ -27,10 +27,14 @@ #include "config.h" #include "microhttpd.h" #include -#include #include #include +#ifndef WINDOWS +#include +#endif + + static int testStartError () { diff --git a/src/daemon/daemontest_get.c b/src/daemon/daemontest_get.c index f200a4c8..c144d368 100644 --- a/src/daemon/daemontest_get.c +++ b/src/daemon/daemontest_get.c @@ -29,10 +29,13 @@ #include #include #include -#include #include #include +#ifndef WINDOWS +#include +#endif + static int oneone; struct CBC diff --git a/src/daemon/daemontest_long_header.c b/src/daemon/daemontest_long_header.c index d0e26484..6377ac07 100644 --- a/src/daemon/daemontest_long_header.c +++ b/src/daemon/daemontest_long_header.c @@ -28,10 +28,13 @@ #include #include #include -#include #include #include +#ifndef WINDOWS +#include +#endif + /** * We will set the memory available per connection to * half of this value, so the actual value does not have diff --git a/src/daemon/daemontest_post.c b/src/daemon/daemontest_post.c index 61850a24..19c79556 100644 --- a/src/daemon/daemontest_post.c +++ b/src/daemon/daemontest_post.c @@ -33,10 +33,13 @@ #include #include #include -#include #include #include +#ifndef WINDOWS +#include +#endif + #define POST_DATA "name=daniel&project=curl" static int oneone; diff --git a/src/daemon/daemontest_put.c b/src/daemon/daemontest_put.c index 342161c8..17a2f1c4 100644 --- a/src/daemon/daemontest_put.c +++ b/src/daemon/daemontest_put.c @@ -28,10 +28,13 @@ #include #include #include -#include #include #include +#ifndef WINDOWS +#include +#endif + static int oneone; struct CBC diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 8bc33c29..71914fd0 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h @@ -37,13 +37,13 @@ #include #include #include -#include #include "config.h" #include "plibc.h" #include "microhttpd.h" #ifndef MINGW +#include #include #include #endif -- cgit v1.2.3