From: Arvin Schnell Date: Tue, 31 Oct 2023 08:10:02 +0000 (+0100) Subject: - use pid_t instead of int X-Git-Tag: v0.10.7~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F845%2Fhead;p=thirdparty%2Fsnapper.git - use pid_t instead of int --- 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;