From b155d0dbe4b1c876e4f2191b49b59f19a4474262 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Tue, 22 Nov 2022 22:31:36 +0000 Subject: [PATCH] ftruncate() technically lives in unistd.h It should be included to prevent warnings on some compilers. --- src/Db.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Db.c b/src/Db.c index 4bdfe10..22c57c1 100644 --- a/src/Db.c +++ b/src/Db.c @@ -29,6 +29,7 @@ #include #include +#include struct Db {