]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: nil: Fix building on uclibc
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Jan 2026 02:09:11 +0000 (03:09 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Jan 2026 02:09:11 +0000 (03:09 +0100)
commit40e46b5a1da9b51abd54fda2b5bebe3abac52631
treeda1f73ab4988254d66d2596d833a581ce2ec3b06
parent51ad47975a829777ffa466d47f7efa29727eecc6
parentad25f0c514c5c7c453a5e0671d63f8f16ab9501c
[9.20] fix: nil: Fix building on uclibc

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 <giulio.benetti@benettiengineering.com>
Backport of MR !11422

Merge branch 'backport-fix/uclibc-off_t-main-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11423