--- lib/utils.h.orig 2022-04-25 10:27:18 UTC +++ lib/utils.h @@ -11,6 +11,10 @@ #include #endif +#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) +#include +#endif + #ifndef WIN32 #include #include @@ -23,7 +27,9 @@ #include #include -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD__) || defined(__DragonFly__) +#include +#elif defined(__NetBSD__) || defined(__OpenBSD__) #include #else #include @@ -33,7 +39,7 @@ #include #endif -#ifdef __OpenBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) #include #endif