From 89e45ced87e2737f791eb50caa3d46e04b26c2d6 Mon Sep 17 00:00:00 2001 From: Roberto Scolaro Date: Tue, 24 Oct 2023 17:28:45 +0000 Subject: [PATCH] fix(userspace/falco): disable sys/select.h on windows Signed-off-by: Roberto Scolaro --- userspace/falco/app/restart_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userspace/falco/app/restart_handler.cpp b/userspace/falco/app/restart_handler.cpp index 3ca2ac1a..ac897660 100644 --- a/userspace/falco/app/restart_handler.cpp +++ b/userspace/falco/app/restart_handler.cpp @@ -26,10 +26,10 @@ limitations under the License. #else #include #endif -#if !defined(__APPLE__) && !defined(_WIN32) +#ifdef __linux__ #include -#endif #include +#endif #if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30 #include