Add support for building httpd_output plugin for win32

This commit is contained in:
Avuton Olrich 2010-03-22 07:15:39 -07:00
parent 68ece2fef3
commit 06f86b4532
2 changed files with 10 additions and 0 deletions

View File

@ -29,7 +29,12 @@
#include <glib.h>
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#endif
#include <stdbool.h>
struct httpd_client;

View File

@ -31,8 +31,13 @@
#include <assert.h>
#include <sys/types.h>
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#include <netdb.h>
#endif
#include <unistd.h>
#include <errno.h>