diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-07-25 10:45:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-07-25 10:45:34 +0000 |
commit | 2434bdddfe484d84c0fb9641875e8b9cbd2a22b0 (patch) | |
tree | 0413caac1f14afb3f10e2622bfb40692d9ff388b /pjlib/include/pj/activesock.h | |
parent | 9d29e15eadae49726b4abc0b357eafe125145984 (diff) |
Fixed linking errors in pjnath when TCP is disabled in PJLIB
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/activesock.h')
-rw-r--r-- | pjlib/include/pj/activesock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/activesock.h b/pjlib/include/pj/activesock.h index e9f4759d..dd5d8270 100644 --- a/pjlib/include/pj/activesock.h +++ b/pjlib/include/pj/activesock.h @@ -413,6 +413,7 @@ PJ_DECL(pj_status_t) pj_activesock_sendto(pj_activesock_t *asock, const pj_sockaddr_t *addr, int addr_len); +#if PJ_HAS_TCP /** * Starts asynchronous socket accept() operations on this active socket. * Application must bind the socket before calling this function. This @@ -457,6 +458,7 @@ PJ_DECL(pj_status_t) pj_activesock_start_connect(pj_activesock_t *asock, const pj_sockaddr_t *remaddr, int addr_len); +#endif /* PJ_HAS_TCP */ /** * @} |