freetdm: isdn stack and testsangomaboost warning fix

This commit is contained in:
Moises Silva 2010-12-07 09:59:56 -05:00
parent 9350fb9626
commit 6a36b8f33f
2 changed files with 1 additions and 3 deletions

View File

@ -328,8 +328,6 @@ void sngisdn_process_cnst_ind (sngisdn_event_data_t *sngisdn_event)
sngisdn_chan_data_t *sngisdn_info = sngisdn_event->sngisdn_info;
ftdm_channel_t *ftdmchan = sngisdn_info->ftdmchan;
sngisdn_span_data_t *signal_data = (sngisdn_span_data_t*) ftdmchan->span->signal_data;
CnStEvnt *cnStEvnt = &sngisdn_event->event.cnStEvnt;
ISDN_FUNC_TRACE_ENTER(__FUNCTION__);

View File

@ -48,7 +48,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef __linux__
#if defined(__linux__) && !defined(__USE_BSD)
#define __USE_BSD
#include <unistd.h>
#endif