Assume universal availability of socklen_t

The SUSv2 defines accept(..., socklen_t), so we can safely require
socklen_t to be universally available.
This commit is contained in:
Ondřej Surý 2024-08-20 11:57:35 +02:00
parent e85399b1c0
commit 34a9a9a6be
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41

View file

@ -31,10 +31,6 @@
#include <isc/string.h>
#include <isc/util.h>
#ifndef socklen_t
#define socklen_t unsigned int
#endif /* ifndef socklen_t */
/*%
* Definitions about UDP port range specification. This is a total mess of
* portability variants: some use sysctl (but the sysctl names vary), some use