From 2a1338242d8f47e8b826502c9d5c7c86b8b3a220 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sun, 15 Jun 2025 21:27:56 +0200 Subject: [PATCH] socket-util: drop duplicate SCM_MAX_FD definition We already carry it in missing_socket.h --- src/basic/socket-util.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c index d93d75e7c0..387e411846 100644 --- a/src/basic/socket-util.c +++ b/src/basic/socket-util.c @@ -40,11 +40,6 @@ # define IDN_FLAGS 0 #endif -/* From the kernel's include/net/scm.h */ -#ifndef SCM_MAX_FD -# define SCM_MAX_FD 253 -#endif - static const char* const socket_address_type_table[] = { [SOCK_STREAM] = "Stream", [SOCK_DGRAM] = "Datagram",