From 53a5054f9e18338c28747bd77783498086968133 Mon Sep 17 00:00:00 2001 From: fusion44 Date: Thu, 18 Jan 2024 21:25:54 +0100 Subject: [PATCH] fix: compile error waitpid() not found Solution is to always include sys/wait.h on unix systems. --- src/flutter_pty_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flutter_pty_unix.c b/src/flutter_pty_unix.c index 5ee4f80..c1f70a1 100644 --- a/src/flutter_pty_unix.c +++ b/src/flutter_pty_unix.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "forkpty.h" #include "flutter_pty.h"