aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-09 20:03:20 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-09 20:03:20 +0300
commite9493e0d3487b533e6ec77fabca29fe578cfb4bf (patch)
tree4b6a632072eb0ead7b9443309cdf1844de736a1a /src/include
parentd7ad8607e92053f4b837306942f1fd56d17dfde3 (diff)
downloadlibmicrohttpd-e9493e0d3487b533e6ec77fabca29fe578cfb4bf.tar.gz
libmicrohttpd-e9493e0d3487b533e6ec77fabca29fe578cfb4bf.zip
microhttpd.h: reordered includes for better compatibility,
Updated ChangeLog
Diffstat (limited to 'src/include')
-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)