aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 17:54:25 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 17:54:25 +0000
commitbfb238a356b6a82337eaff1253f78aefb8d055a8 (patch)
tree9088f443fc48f6a71b68f4cfc008cb54c0eb70a9 /include
parent71f15f1b0be635fa086dcbc9bd85f59c328ff2ed (diff)
FreeBSD fix for utils (bug #1949)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3352 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/utils.h3
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