This resolves FTBFS on FreeBSD 12. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 95285a6e56)
95285a6e56