diff --git a/src/osal.h b/src/osal.h index c3e72e83..9bafc3ea 100644 --- a/src/osal.h +++ b/src/osal.h @@ -50,10 +50,14 @@ #include #include #include -#include #include #include #include +#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ + defined(__BSD__) || defined(__NETBSD__) || defined(__bsdi__) || \ + defined(__DragonFly__)) +#include +#endif /* xBSD */ #ifndef _POSIX_C_SOURCE #ifdef _POSIX_SOURCE