From 5fa28dc2b871b11f93d4206bea2780262f85af5e Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 21 Dec 2018 05:23:58 +0100 Subject: wip --- src/blogc-runserver/httpd.c | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c index 1c27b3d..57bcec4 100644 --- a/src/blogc-runserver/httpd.c +++ b/src/blogc-runserver/httpd.c @@ -6,6 +6,34 @@ * See the file LICENSE. */ +#ifdef HAVE_CONFIG_H +#include +#endif /* HAVE_CONFIG_H */ + +#ifdef HAVE_SYS_SOCKET_H +#include +#endif /* HAVE_SYS_SOCKET_H */ + +#ifdef HAVE_NETINET_IN_H +#include +#endif /* HAVE_NETINET_IN_H */ + +#ifdef HAVE_ARPA_INET_H +#include +#endif /* HAVE_ARPA_INET_H */ + +#ifdef HAVE_NETDB_H +#include +#endif /* HAVE_NETDB_H */ + +#ifdef HAVE_PTHREAD +#include +#endif /* HAVE_PTHREAD */ + +#ifdef HAVE_WINSOCK2_H +#include +#endif /* HAVE_WINSOCK2_H */ + #include #include #include @@ -14,11 +42,6 @@ #include #include #include -#include -#include -#include -#include -#include #include "../common/error.h" #include "../common/file.h" #include "../common/thread.h" -- cgit v1.2.3-18-g5258