BUILD: compat: fix -Wundef on SO_REUSEADDR
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 18:06:06 +0000 (20:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
commit1a2134138aa2cf0e6d7d4cf146b810861254639b
tree217475144e08212b2d2f9628337b9a0166107264
parent5d9ddc544237c5e8df73d51b5499c967d22e459d
BUILD: compat: fix -Wundef on SO_REUSEADDR

If USE_NETFILTER is set and not SO_REUSEPORT, we evaluate SO_REUSEADDR,
let's fix that to check that it's defined.
include/haproxy/compat.h