From ca4f49ead47e93a681312a66122ef55d28a8706e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Nov 2024 14:09:08 +0100 Subject: [PATCH] net/SocketDescriptor: fix SO_PEERPIDFD compile-time check --- src/net/SocketDescriptor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/SocketDescriptor.cxx b/src/net/SocketDescriptor.cxx index 8b597030..0b172791 100644 --- a/src/net/SocketDescriptor.cxx +++ b/src/net/SocketDescriptor.cxx @@ -241,7 +241,7 @@ SocketDescriptor::GetPeerCredentials() const noexcept #ifdef __linux__ -#ifndef SO_PEERCRED +#ifndef SO_PEERPIDFD #define SO_PEERPIDFD 77 #endif