Skip to content

Commit

Permalink
BSD socket API is provided through wincompat.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Dec 2, 2024
1 parent b24b910 commit f54dd40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/picotls.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ extern "C" {
#include <inttypes.h>
#include <string.h>
#include <sys/types.h>
#ifndef _WINDOWS
#include <netinet/in.h>
#include <arpa/inet.h>
#endif

#if __GNUC__ >= 3
#define PTLS_LIKELY(x) __builtin_expect(!!(x), 1)
Expand Down

0 comments on commit f54dd40

Please sign in to comment.