From cd5a3ede529b03c184c86d067d2596a15a0794c0 Mon Sep 17 00:00:00 2001 From: grialion <48643945+grialion@users.noreply.github.com> Date: Wed, 9 Jul 2025 23:14:36 +0200 Subject: [PATCH] fix(auth.c): use POSIX pid_t Use standard pid_t type instead of libc specific __pid_t type. --- src/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index d686cd1..1c06836 100644 --- a/src/auth.c +++ b/src/auth.c @@ -245,7 +245,7 @@ bool launch(char* user, char* passwd, struct session session, void (*cb)(void), perror("execl error"); (void)fputs("failure calling session\n", stderr); } else { - __pid_t child_pid = (__pid_t)pid; + pid_t child_pid = (pid_t)pid; waitpid(child_pid, NULL, 0); pam_setcred(pamh, PAM_DELETE_CRED);