From: Willy Tarreau Date: Mon, 27 May 2024 16:56:12 +0000 (+0200) Subject: BUILD: fd: errno is also needed without poll() X-Git-Tag: v3.0.0~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=725fa0ecd255160090681788be34024925e7815d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/fd.c b/src/fd.c index 5262225352..9b625157e5 100644 --- a/src/fd.c +++ b/src/fd.c @@ -84,8 +84,8 @@ #if defined(USE_POLL) #include -#include #endif +#include #include #include