diff options
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index 7bffdf8d6b..ff60cfb53c 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -326,10 +326,12 @@ sockopt_inspect(VALUE self) } if (family == AF_UNIX && level == 0) { +# if defined(LOCAL_PEERCRED) if (optname == LOCAL_PEERCRED) { if (inspect_local_peercred(level, optname, data, ret) == -1) goto dump; goto finish; } +# endif } switch (level) { |