summaryrefslogtreecommitdiff
path: root/include/asterisk/srv.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-08 16:48:07 +0000
committerMark Spencer <markster@digium.com>2003-09-08 16:48:07 +0000
commit479a67e629385a2c43bf9383c0c23f5dae032504 (patch)
tree32674bc8c5dc21153e7c8a4548f6641aef0566bf /include/asterisk/srv.h
parent1e19f72077a8e2f5befb21bb5c3f2131f8b24107 (diff)
BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/srv.h')
-rwxr-xr-xinclude/asterisk/srv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/srv.h b/include/asterisk/srv.h
index df8a411c5..1c3711dae 100755
--- a/include/asterisk/srv.h
+++ b/include/asterisk/srv.h
@@ -13,7 +13,9 @@
#ifndef _ASTERISK_SRV_H
#define _ASTERISK_SRV_H
-#include <asterisk/channel.h>
+
+struct ast_channel;
+
/* Lookup entry in SRV records Returns 1 if found, 0 if not found, -1 on hangup */
extern int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, const char *service);