a little bit of header file cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5110 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-05-09 12:35:53 +00:00
parent 63b1a82251
commit 1be54b24ac
10 changed files with 14 additions and 13 deletions

View File

@ -36,21 +36,8 @@
*
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <arpa/inet.h>
#endif
#include <sofia-sip/su_localinfo.h>
SOFIA_BEGIN_DECLS
/* Define Message Types */

View File

@ -43,6 +43,7 @@
#include "stun_internal.h"
#include <string.h>
#include <assert.h>
#if HAVE_FUNC

View File

@ -54,6 +54,8 @@ static char const __func__[] = "stun_dns";
#include "stun_internal.h"
#include <string.h>
struct stun_dns_lookup_s {
su_home_t stun_home[1];
su_root_t *stun_root;

View File

@ -39,6 +39,7 @@
#include "stun_internal.h"
#include <assert.h>
#include <string.h>
typedef struct stun_bound_s stun_bound_t;

View File

@ -964,6 +964,10 @@ tport_t *tport_base_connect(tport_primary_t *pri,
if (tport_setname(self, tpn->tpn_proto, real_ai, tpn->tpn_canon) == -1)
TPORT_CONNECT_ERROR(su_errno(), tport_setname);
/* Try to have a non-blocking connect().
* The su_wait_create() below makes the socket non-blocking anyway. */
su_setblocking(s, 0);
if (connect(s, ai->ai_addr, (socklen_t)(ai->ai_addrlen)) == SOCKET_ERROR) {
err = su_errno();
if (!su_is_blocking(err))

View File

@ -33,6 +33,8 @@
#include "tport_internal.h"
#include <string.h>
tport_comp_vtable_t const *tport_comp_vtable = NULL;
int tport_plug_in_compress(tport_comp_vtable_t const *vsc)

View File

@ -40,6 +40,7 @@
#include "sofia-sip/msg_addr.h"
#include <assert.h>
#include <string.h>
/* ---------------------------------------------------------------------- */
/* Plugin pointer */

View File

@ -50,6 +50,7 @@
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
/* ---------------------------------------------------------------------- */
/* SCTP */

View File

@ -45,6 +45,7 @@
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
/* ---------------------------------------------------------------------- */
/* TLS */

View File

@ -43,6 +43,7 @@
#endif
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include <errno.h>