aboutsummaryrefslogtreecommitdiff
path: root/include/Process.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-31 21:01:31 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-31 21:01:31 +0200
commit8a82fa688b4ca27bb96900da97dce0fd870d3a65 (patch)
tree153e58a35e45215d4e6efa64afc721e30467bce3 /include/Process.hpp
parent497217a3e09b577f650aaf503356588515067ca8 (diff)
More style changes
Diffstat (limited to 'include/Process.hpp')
-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