Skip to content

Commit f54dd40

Browse files
committed
BSD socket API is provided through wincompat.h
1 parent b24b910 commit f54dd40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/picotls.h

+2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ extern "C" {
3434
#include <inttypes.h>
3535
#include <string.h>
3636
#include <sys/types.h>
37+
#ifndef _WINDOWS
3738
#include <netinet/in.h>
3839
#include <arpa/inet.h>
40+
#endif
3941

4042
#if __GNUC__ >= 3
4143
#define PTLS_LIKELY(x) __builtin_expect(!!(x), 1)

0 commit comments

Comments
 (0)