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.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=725fa0ecd255160090681788be34024925e7815d;p=haproxy.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 526222535..9b625157e 100644 --- a/src/fd.c +++ b/src/fd.c @@ -84,8 +84,8 @@ #if defined(USE_POLL) #include -#include #endif +#include #include #include