From 2663798a50a7cc4c633f0b0708e3479bfc8f61f9 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Tue, 31 Oct 2023 09:10:02 +0100 Subject: [PATCH] - use pid_t instead of int --- snapper/SystemCmd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snapper/SystemCmd.h b/snapper/SystemCmd.h index f8bcede1..5c9f7d8b 100644 --- a/snapper/SystemCmd.h +++ b/snapper/SystemCmd.h @@ -25,6 +25,7 @@ #define SNAPPER_SYSTEM_CMD_H #include +#include #include #include #include @@ -158,7 +159,7 @@ namespace snapper vector Lines_aC[2]; bool NewLineSeen_ab[2]; int Ret_i = 0; - int Pid_i = 0; + pid_t Pid_i = 0; struct pollfd pfds[2]; static const unsigned line_limit = 50; -- 2.47.3