Make it build and run on MacOS X

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-26 18:50:49 +00:00
parent cd5bbf0f35
commit 4ce283ff18
23 changed files with 273 additions and 45 deletions

5
srv.c
View File

@@ -25,6 +25,11 @@
#include <asterisk/dns.h>
#include <asterisk/options.h>
#ifdef __APPLE__
#undef T_SRV
#define T_SRV 33
#endif
struct srv {
unsigned short priority;
unsigned short weight;