Add <sys/socket.h> for OpenBSD.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25859)
This commit is contained in:
Jean-Frederic Clere 2024-12-03 16:43:59 +01:00 committed by Neil Horman
parent fe2a51bfda
commit ecf6701907

View file

@ -15,6 +15,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/socket.h>
#define nghttp3_arraylen(A) (sizeof(A) / sizeof(*(A)))