diff --git a/src/vo/GVOHub.cpp b/src/vo/GVOHub.cpp index 58dd88c..3bfedec 100644 --- a/src/vo/GVOHub.cpp +++ b/src/vo/GVOHub.cpp @@ -31,11 +31,13 @@ #include // std::getenv() function #include // std::fopen(), etc. functions #include // std::memset() function +#include // signal() function #include // close() function #include // getaddrinfo() function #include #include #include // socket(), connect() functions +#include // waitpid() function #include "GVOHub.hpp" #include "GVOClient.hpp" #include "GException.hpp" @@ -413,7 +415,7 @@ void GVOHub::start_hub(void) else { int status = 0; waitpid(pid, &status, 0); - signal(pid, SIG_IGN); + std::signal(pid, SIG_IGN); } } // endwhile: main event loop