From b34ae7dae57038e0e024039622252d96145a8aef Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 9 Oct 2022 14:51:44 +0100 Subject: [PATCH] Fix last commit --- source/backend/plugin/CarlaPluginCLAP.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPluginCLAP.cpp b/source/backend/plugin/CarlaPluginCLAP.cpp index 1f4bfc7a4..ac89823be 100644 --- a/source/backend/plugin/CarlaPluginCLAP.cpp +++ b/source/backend/plugin/CarlaPluginCLAP.cpp @@ -2674,8 +2674,9 @@ protected: #ifdef CARLA_CLAP_POSIX_KQUEUE const int hostFd = ::kqueue(); #else - CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false); + const int hostFd = ::epoll_create1(0); #endif + CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false); #ifndef CARLA_CLAP_POSIX_KQUEUE struct epoll_event ev = {};