Fix building with gcc-4.7 https://bugs.gentoo.org/show_bug.cgi?id=421867 Patch written by LE GARREC Vincent --- a/src/objects/tool_object.cpp +++ b/src/objects/tool_object.cpp @@ -50,6 +50,7 @@ stopProcess() #include #include #include +#include // usleep #if 1 --- a/src/utils/vk_config.cpp +++ b/src/utils/vk_config.cpp @@ -25,6 +25,8 @@ #include "utils/vk_utils.h" #include // getpwuid +#include // getuid +#include // getuid #include #include --- a/src/utils/vk_utils.cpp +++ b/src/utils/vk_utils.cpp @@ -22,6 +22,8 @@ #include "utils/vk_config.h" // vkname() #include // exit, mkstemp, free/malloc, etc +#include // getpid +#include // getpid #include #include