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 d6cade855..a4822c104 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -413,6 +413,8 @@ static int get_remote_uid(int fd)
if (getpeereid(fd, &euid, &egid) == 0)
return euid;
+#else
+ (void)fd;
#endif
return -1;
#endif