libmicrohttpd

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

commit 04c1bc852573ae5abf66df086242e1ad52545a7a
parent 8046c4126dde020f4bea551014e54c3efb739474
Author: Nils Durner <durner@gnunet.org>
Date:   Wed, 25 Mar 2009 20:41:31 +0000

fixed includes

Diffstat:
Msrc/daemon/https/tls/defines.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/daemon/https/tls/defines.h b/src/daemon/https/tls/defines.h @@ -25,7 +25,7 @@ #ifndef DEFINES_H # define DEFINES_H -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include "MHD_config.h" #endif @@ -45,7 +45,9 @@ typedef int ssize_t; #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> +#ifndef MINGW #include <sys/socket.h> +#endif #include <time.h> /* TODO check if these should go into config.h */