Skip to content

Commit

Permalink
net/SocketDescriptor: fix SO_PEERPIDFD compile-time check
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Nov 29, 2024
1 parent bba9dc4 commit ca4f49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/SocketDescriptor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ SocketDescriptor::GetPeerCredentials() const noexcept

#ifdef __linux__

#ifndef SO_PEERCRED
#ifndef SO_PEERPIDFD
#define SO_PEERPIDFD 77
#endif

Expand Down

0 comments on commit ca4f49e

Please sign in to comment.