diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 139f4f81b9..afb2901699 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -84,6 +84,10 @@ int unsetenv(const char *name); #define HAVE_STRNLEN #endif +#ifdef __FreeBSD__ +#include +#endif + #ifdef SOLARIS #undef HAVE_VASPRINTF #undef HAVE_STRTOQ