mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
fix some build issues on FreeBSD (issue #6614)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6486,9 +6486,10 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
|
||||
{
|
||||
struct iax2_thread *thread;
|
||||
socklen_t len;
|
||||
thread = find_idle_thread();
|
||||
time_t t;
|
||||
static time_t last_errtime=0;
|
||||
|
||||
thread = find_idle_thread();
|
||||
if (thread) {
|
||||
len = sizeof(thread->iosin);
|
||||
thread->iofd = fd;
|
||||
|
@@ -30,6 +30,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "asterisk.h"
|
||||
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
|
Reference in New Issue
Block a user