From 3f3585d0f32e66ad5c8c6c713f315e14810230eb Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 9 Aug 2021 20:14:24 -0400 Subject: [PATCH] Fix missing include for flock(2) On OpenBSD it's in , and it gets declared anyway on FreeBSD and macOS. Curiously, on GNU/Linux, LOCK_* are defined, but flock(2) isn't declared. --- ui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui.c b/ui.c index 561db65..1adcafe 100644 --- a/ui.c +++ b/ui.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include