Ainar Garipov a0d0ef5cd8 Pull request: 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
2021-05-17 13:27:40 +03:00
..
2021-03-25 18:03:29 +03:00
2021-04-12 18:22:11 +03:00