commit | bbcdbe6dc31ec5d4b72a7beece4daf58098bad42 | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Sun Dec 22 17:11:19 2024 +0900 |
committer | GitHub <noreply@github.com> | Sun Dec 22 17:11:19 2024 +0900 |
tree | 37211132f895e62d204a1a14bb884e5279154b5f | |
parent | 14e191c13df61f08db91107dfcdd84b8aab043d6 [diff] | |
parent | 9a8c4ebe76f345cc3989688aaa0d113de25d20f4 [diff] |
Merge pull request #557 from h2o/kazuho/missing-includes-freebsd add includes (otherwise fails to compile on freebsd)
diff --git a/lib/picotls.c b/lib/picotls.c index a7c513b..00261a5 100644 --- a/lib/picotls.c +++ b/lib/picotls.c
@@ -33,7 +33,10 @@ #include <pthread.h> #include <unistd.h> #include <arpa/inet.h> +#include <netinet/in.h> +#include <sys/socket.h> #include <sys/time.h> +#include <sys/types.h> #endif #ifdef __linux__ #include <sys/syscall.h>