]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tools: fix build on BSD by dropping the ETIME check
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Jan 2025 14:58:57 +0000 (15:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Jan 2025 14:58:57 +0000 (15:58 +0100)
commitf17b0a994bc6fb9a68b0bcb03ab3eb1c0fd35d5a
tree70274a147e1e716eef34f2fdb5c69f3b6fcc0138
parent36d151dc10b5ea9c7b95c3d1d33e7321a3023682
BUILD: tools: fix build on BSD by dropping the ETIME check

Commit 44537379fc ("MINOR: tools: add errname to print errno macro
name") brought a facility to report errno using a symbolic string
when known instead of showing only the value. However, among the
listed options, ETIME is mentioned but is unknown from FreeBSD where
it breaks the build. Let's simply drop it, we don't use ETIME anyway
and even if it would be reported, the default code path still reports
the numeric value so there's no harm. If other ones fail to build in
the future, they could be handled the same way.
include/haproxy/tools.h