libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit a9438fbc33076485a08efbe5d3c0c7b59fb03dc0
parent 19515c276b96b36c54bdad328159cd3c1519d13d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 19 Sep 2010 19:30:51 +0000

trying to make things work better on MINGW out of the box

Diffstat:
Msrc/include/microhttpd.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -94,10 +94,14 @@ extern "C" #include <unistd.h> #include <stdarg.h> #include <stdint.h> +#ifdef __MINGW32__ +#include <ws2tcpip.h> +#else #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> #endif +#endif /** * Current version of the library.