diff options
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index df3cb7fdf..1c7069521 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -953,7 +953,7 @@ rspamd_maybe_reuseport_socket (struct rspamd_worker_listen_socket *ls) return true; } -#if defined(SO_REUSEPORT) && defined(SO_REUSEADDR) +#if defined(SO_REUSEPORT) && defined(SO_REUSEADDR) && defined(LINUX) nfd = rspamd_inet_address_listen (ls->addr, (ls->type == RSPAMD_WORKER_SOCKET_UDP ? SOCK_DGRAM : SOCK_STREAM), |