From 705898d1dbf33009be6ef9ff00dc7cb4300638dc Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 4 Jan 2024 04:58:26 -0800 Subject: [PATCH] monitor: include unistd.h in main.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a build break on some systems, specifically the raspberry Pi 3 (ARM): monitor/main.c: In function ‘open_packet’: monitor/main.c:176:3: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration] 176 | close(fd); | ^~~~~ | pclose --- monitor/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/monitor/main.c b/monitor/main.c index e9384e1b..8f354d52 100644 --- a/monitor/main.c +++ b/monitor/main.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include