Fixed linking errors in pjnath when TCP is disabled in PJLIB

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/include/pj/activesock.h b/pjlib/include/pj/activesock.h
index e9f4759..dd5d827 100644
--- a/pjlib/include/pj/activesock.h
+++ b/pjlib/include/pj/activesock.h
@@ -413,6 +413,7 @@
 					  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 @@
 						 const pj_sockaddr_t *remaddr,
 						 int addr_len);
 
+#endif	/* PJ_HAS_TCP */
 
 /**
  * @}