From 1742fbf8326a6500ba0407e5bcbe8200961ba8b4 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 29 Sep 2023 13:03:13 +0000 Subject: [PATCH] Updating GetPid.c, because for pid_t you need #include --- GetPid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GetPid.c b/GetPid.c index af3fe2a..aa49048 100644 --- a/GetPid.c +++ b/GetPid.c @@ -1,8 +1,9 @@ #include #include +#include void main(void) { - __pid_t id_actual, id_padre; + pid_t id_actual, id_padre; id_actual = getpid(); id_padre = getppid();