[BUILD] Add headers for Windows sockets (#72)

This commit is contained in:
Stephen Petrides 2019-04-13 09:27:40 -04:00 committed by LiteSpeed Tech
parent 7e0bd43e1b
commit 7cf121d70c

View file

@ -5,7 +5,14 @@
#include <inttypes.h> #include <inttypes.h>
#include <string.h> #include <string.h>
#include <sys/queue.h> #include <sys/queue.h>
#ifdef WIN32
#include <Ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif
#include "lsquic.h" #include "lsquic.h"
#include "lsquic_types.h" #include "lsquic_types.h"