BUILD: fd: errno is also needed without poll()

When building without USE_POLL, fd.c fails on errno because that one is
only included when USE_POLL is set. Let's move it outside of the ifdef.
This commit is contained in:
Willy Tarreau 2024-05-27 18:56:12 +02:00
parent 35e9826c13
commit 725fa0ecd2

View File

@ -84,8 +84,8 @@
#if defined(USE_POLL)
#include <poll.h>
#include <errno.h>
#endif
#include <errno.h>
#include <haproxy/api.h>
#include <haproxy/activity.h>