aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
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
}