Updates #3147. Squashed commit of the following: commit 4e1bcfd1561f9b927755c5024521d5508ef94b1f Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon May 17 13:17:51 2021 +0300 all: restore netbsd compat
Updates #3147. Squashed commit of the following: commit 4e1bcfd1561f9b927755c5024521d5508ef94b1f Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon May 17 13:17:51 2021 +0300 all: restore netbsd compat