From 34a9a9a6be96ab089a909d943a623f73ead4ccf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 20 Aug 2024 11:57:35 +0200 Subject: [PATCH] Assume universal availability of socklen_t The SUSv2 defines accept(..., socklen_t), so we can safely require socklen_t to be universally available. --- lib/isc/net.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/isc/net.c b/lib/isc/net.c index 8f73185696..90989e08f3 100644 --- a/lib/isc/net.c +++ b/lib/isc/net.c @@ -31,10 +31,6 @@ #include #include -#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