From 725fa0ecd255160090681788be34024925e7815d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 27 May 2024 18:56:12 +0200 Subject: [PATCH] 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. --- src/fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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