aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 577ebc59..95087887 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -101,6 +101,13 @@ extern "C"
101 on platforms where they do not exist). 101 on platforms where they do not exist).
102 */ 102 */
103#ifndef MHD_PLATFORM_H 103#ifndef MHD_PLATFORM_H
104#if defined(_WIN32) && ! defined(__CYGWIN__) && \
105 ! defined(_CRT_DECLARE_NONSTDC_NAMES)
106#define _CRT_DECLARE_NONSTDC_NAMES 1
107#endif /* _WIN32 && ! __CYGWIN__ && ! _CRT_DECLARE_NONSTDC_NAMES */
108#include <stdarg.h>
109#include <stdint.h>
110#include <sys/types.h>
104#if !defined(_WIN32) || defined(__CYGWIN__) 111#if !defined(_WIN32) || defined(__CYGWIN__)
105#include <unistd.h> 112#include <unistd.h>
106#include <sys/time.h> 113#include <sys/time.h>
@@ -114,9 +121,6 @@ extern "C"
114typedef intptr_t ssize_t; 121typedef intptr_t ssize_t;
115#endif /* !_SSIZE_T_DEFINED */ 122#endif /* !_SSIZE_T_DEFINED */
116#endif /* _WIN32 && ! __CYGWIN__ */ 123#endif /* _WIN32 && ! __CYGWIN__ */
117#include <stdarg.h>
118#include <stdint.h>
119#include <sys/types.h>
120#endif 124#endif
121 125
122#if defined(__CYGWIN__) && !defined(_SYS_TYPES_FD_SET) 126#if defined(__CYGWIN__) && !defined(_SYS_TYPES_FD_SET)