Skip to content

Commit 7cf121d

Browse files
sdpetrideslitespeedtech
authored andcommitted
[BUILD] Add headers for Windows sockets (#72)
1 parent 7e0bd43 commit 7cf121d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/liblsquic/lsquic_qlog.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
#include <inttypes.h>
66
#include <string.h>
77
#include <sys/queue.h>
8+
#ifdef WIN32
9+
#include <Ws2tcpip.h>
10+
#else
11+
#include <sys/types.h>
12+
#include <sys/socket.h>
13+
#include <netinet/in.h>
814
#include <arpa/inet.h>
15+
#endif
916

1017
#include "lsquic.h"
1118
#include "lsquic_types.h"

0 commit comments

Comments
 (0)