diff --git a/src/main.c b/src/main.c index 91827c52f..858910828 100644 --- a/src/main.c +++ b/src/main.c @@ -3241,6 +3241,9 @@ static void set_nonblocking(struct Configurable *config, int fd) flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK); else warnf(config, "fcntl failed on fd=%d: %s\n", fd, strerror(errno)); +#else + (void) config; + (void) fd; #endif }