aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Process.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Process.hpp b/include/Process.hpp
index a41b9a0..56d06b8 100644
--- a/include/Process.hpp
+++ b/include/Process.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include <sys/types.h>
+
namespace gsr {
enum class GsrMode {
Replay,
@@ -10,5 +12,5 @@ namespace gsr {
// Arguments ending with NULL
bool exec_program_daemonized(const char **args);
- bool is_gpu_screen_recorder_running(int &gsr_pid, GsrMode &mode);
+ bool is_gpu_screen_recorder_running(pid_t &gsr_pid, GsrMode &mode);
} \ No newline at end of file