Fix a compile problem on FreeBSD for a missing header.
In this specific case the problem triggered on app_amd.c, but it keeps coming out from time to time so it is better to fix it in a more central place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14320 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2082e1e4ef
commit
6bbf8b5925
|
@ -84,6 +84,10 @@ int unsetenv(const char *name);
|
|||
#define HAVE_STRNLEN
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef SOLARIS
|
||||
#undef HAVE_VASPRINTF
|
||||
#undef HAVE_STRTOQ
|
||||
|
|
Reference in New Issue