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