mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-08-08 09:21:48 +08:00
Include <sys:socket.h> for AF_INET
Required to build on FreeBSD 15. Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
option (enabled by default)
|
||||
- Limited HTTP header size to 16 KB to complement the existing 256 KB
|
||||
body limit
|
||||
- Fix build issue on FreeBSD (#704)
|
||||
|
||||
|
||||
* Version 1.4.2 (released 2026-04-16)
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
/* Validates a single hostname label per RFC 952 as updated by RFC 1123:
|
||||
* - first character: letter or digit (RFC 1123 relaxes RFC 952's letter-only rule)
|
||||
|
||||
Reference in New Issue
Block a user