]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
socket-util: drop duplicate SCM_MAX_FD definition
authorMike Yuan <me@yhndnzj.com>
Sun, 15 Jun 2025 19:27:56 +0000 (21:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jun 2025 10:16:03 +0000 (12:16 +0200)
We already carry it in missing_socket.h

src/basic/socket-util.c

index d93d75e7c08af3eae7abbee4bd41c6a43b6432e2..387e411846465db3d4e8f43e683c7b43a29c0b27 100644 (file)
 #  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",