aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 15:02:05 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 15:02:05 +0000
commitdfbda8ae1ee98455a488de3a78ae4fd198e57cd4 (patch)
tree1e2d856b719a84249f2e926eaa19f435815832db
parent49629d8d42a4e42070fa7be9b00edc6ed2eafbb1 (diff)
downloadlibmicrohttpd-dfbda8ae1ee98455a488de3a78ae4fd198e57cd4.tar.gz
libmicrohttpd-dfbda8ae1ee98455a488de3a78ae4fd198e57cd4.zip
mhd_sockets.h: improved header inclusion macros.
-rw-r--r--src/microhttpd/mhd_sockets.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 0aa2aaac..1d68fa44 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -52,7 +52,7 @@
52 * for socket function. 52 * for socket function.
53 */ 53 */
54#if defined(MHD_POSIX_SOCKETS) 54#if defined(MHD_POSIX_SOCKETS)
55# if HAVE_SYS_SOCKET_H 55# ifdef HAVE_SYS_SOCKET_H
56# include <sys/socket.h> 56# include <sys/socket.h>
57# endif 57# endif
58# if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS) 58# if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS)
@@ -67,28 +67,28 @@
67# ifdef HAVE_NETINET_IN_H 67# ifdef HAVE_NETINET_IN_H
68# include <netinet/in.h> 68# include <netinet/in.h>
69# endif /* HAVE_NETINET_IN_H */ 69# endif /* HAVE_NETINET_IN_H */
70# if HAVE_ARPA_INET_H 70# ifdef HAVE_ARPA_INET_H
71# include <arpa/inet.h> 71# include <arpa/inet.h>
72# endif 72# endif
73# ifdef HAVE_NET_IF_H 73# ifdef HAVE_NET_IF_H
74# include <net/if.h> 74# include <net/if.h>
75# endif 75# endif
76# if HAVE_SYS_TIME_H 76# ifdef HAVE_SYS_TIME_H
77# include <sys/time.h> 77# include <sys/time.h>
78# endif 78# endif
79# if HAVE_TIME_H 79# ifdef HAVE_TIME_H
80# include <time.h> 80# include <time.h>
81# endif 81# endif
82# if HAVE_NETDB_H 82# ifdef HAVE_NETDB_H
83# include <netdb.h> 83# include <netdb.h>
84# endif 84# endif
85# if HAVE_SYS_SELECT_H 85# ifdef HAVE_SYS_SELECT_H
86# include <sys/select.h> 86# include <sys/select.h>
87# endif 87# endif
88# if EPOLL_SUPPORT 88# if EPOLL_SUPPORT
89# include <sys/epoll.h> 89# include <sys/epoll.h>
90# endif 90# endif
91# if HAVE_NETINET_TCP_H 91# ifdef HAVE_NETINET_TCP_H
92 /* for TCP_FASTOPEN and TCP_CORK */ 92 /* for TCP_FASTOPEN and TCP_CORK */
93# include <netinet/tcp.h> 93# include <netinet/tcp.h>
94# endif 94# endif