From 49199add7b52e1a9ee254e292c97d3505d2ee66d Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Sat, 3 Jan 2026 22:59:39 +0100 Subject: [PATCH] Fix building on uclibc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While building on uclibc this error is thrown: In file included from ./include/dns/log.h:20, from callbacks.c:19: ../../lib/isc/include/isc/log.h:141:9: error: unknown type name ‘off_t’ 141 | off_t maximum_size; | ^~~~~ This is due to missing include unistd.h, so let's add it on top of isc/log.h Signed-off-by: Giulio Benetti (cherry picked from commit 0e43f62c1233adb9543dd378c6b4fba3dbde75a3) --- lib/isc/include/isc/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/isc/include/isc/log.h b/lib/isc/include/isc/log.h index 54b4022201..2b712c4470 100644 --- a/lib/isc/include/isc/log.h +++ b/lib/isc/include/isc/log.h @@ -19,6 +19,7 @@ #include #include #include /* XXXDCL NT */ +#include #include #include