--- src/wazuh_modules/vulnerability_scanner/CMakeLists.txt.orig	2024-10-21 19:13:54.830128000 -0700
+++ src/wazuh_modules/vulnerability_scanner/CMakeLists.txt	2024-10-21 20:06:29.722685000 -0700
@@ -4,7 +4,7 @@
 
 enable_testing()
 
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 20)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 add_definitions(-DPROMISE_TYPE=PromiseType::NORMAL)
@@ -26,6 +26,7 @@
 
 # Include directories
 include_directories(include)
+include_directories($ENV{LOCALBASE}/include/libepoll-shim)
 include_directories(src/databaseFeedManager)
 include_directories(src/policyManager)
 
@@ -106,7 +107,7 @@
 
 add_dependencies(database_feed compile_schemas) #Add a dependency between top-level targets.
 
-target_link_libraries(vulnerability_scanner scan_orchestrator database_feed router content_manager indexer_connector router gcc_s flatbuffers)
+target_link_libraries(vulnerability_scanner scan_orchestrator database_feed router content_manager indexer_connector router gcc_s flatbuffers archive epoll-shim)
 
 set_target_properties(vulnerability_scanner PROPERTIES
         BUILD_RPATH_USE_ORIGIN TRUE
