Commit 06f86b45 authored by Avuton Olrich's avatar Avuton Olrich

Add support for building httpd_output plugin for win32

parent 68ece2fe
...@@ -29,7 +29,12 @@ ...@@ -29,7 +29,12 @@
#include <glib.h> #include <glib.h>
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h> #include <sys/socket.h>
#endif
#include <stdbool.h> #include <stdbool.h>
struct httpd_client; struct httpd_client;
......
...@@ -31,8 +31,13 @@ ...@@ -31,8 +31,13 @@
#include <assert.h> #include <assert.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#endif
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment