From b581af69906691f01e326c0a6907ba372a13c0ff Mon Sep 17 00:00:00 2001 From: Andreas Gocht-Zech Date: Wed, 12 Jul 2023 20:46:59 +0200 Subject: [PATCH] fix python bindings --- python/bindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/bindings.cpp b/python/bindings.cpp index 0413798..788d79f 100644 --- a/python/bindings.cpp +++ b/python/bindings.cpp @@ -9,7 +9,7 @@ namespace py = pybind11; //--- for some reason this is a global defined in main.cpp -std::set pidsToWatch; +extern std::set pidsToWatch; //--- hacky way to get callbacks working and handle signals std::function empty_callback;