diff options
author | Mark Spencer <markster@digium.com> | 2004-06-29 17:54:25 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-29 17:54:25 +0000 |
commit | a8d8221357bfb264b50e3a70ee8976c097f8cdca (patch) | |
tree | 9088f443fc48f6a71b68f4cfc008cb54c0eb70a9 /include | |
parent | ee4a248e6b3638257471ab7065ec7ec042d735e6 (diff) |
FreeBSD fix for utils (bug #1949)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index e6e4e6f79..9a3b57329 100755 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -32,6 +32,9 @@ extern int test_for_thread_safety(void); extern const char *ast_inet_ntoa(char *buf, int bufsiz, struct in_addr ia); extern int ast_utils_init(void); +#ifdef inet_ntoa +#undef inet_ntoa +#endif #define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ #endif |