aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/listen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c
index 3028b9476..f6757d4e2 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -422,6 +422,8 @@ static int get_remote_uid(int fd)
if (getpeereid(fd, &euid, &egid) == 0)
return euid;
+#else
+ (void)fd;
#endif
return -1;
#endif