From a3545d7a2a8a4a785740f17494e43773777128db Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 27 Aug 2024 02:13:41 -0400 Subject: [PATCH] select: include missing config.h This header uses HAVE_xxx defines, so make sure we include config.h to get consistent behavior. Otherwise, select.cc doesn't include it, and we always compile the old select codepath, and then when we use the header in other files, we compile the new pselect codepath. --- src/util/select.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/select.h b/src/util/select.h index 39a4d724b..3100464db 100644 --- a/src/util/select.h +++ b/src/util/select.h @@ -33,6 +33,8 @@ #ifndef SELECT_HPP #define SELECT_HPP +#include "src/include/config.h" + #include #include #include