From ec20bbf8f3f8483d9852aa4936a06eea9738de3d Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Mon, 8 Apr 2024 19:46:25 +0200 Subject: [PATCH] fix: explicitly include `netinet/in.h` to be POSIX-compliant Noticed during build on FreeBSD. --- src/sk_client.c | 1 + src/sk_server.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/sk_client.c b/src/sk_client.c index b8b3808..5f60bbb 100644 --- a/src/sk_client.c +++ b/src/sk_client.c @@ -31,6 +31,7 @@ #include #include #include +#include #include static void offline_mode(void) { diff --git a/src/sk_server.c b/src/sk_server.c index 60b02e4..26be252 100644 --- a/src/sk_server.c +++ b/src/sk_server.c @@ -29,6 +29,7 @@ #include #include #include +#include #if defined(_WIN32) || defined(_WIN64) #include