chan_ooh323: IPTOS_MINCOST is not defined on Solaris.

Furthermore, <sys/sockio.h> is required for SIOCGIF*.

ASTERISK-27938

Change-Id: Idc9153ece769944765b66122efb11728d8d8ebde
This commit is contained in:
Alexander Traud
2018-06-23 08:40:11 +02:00
parent b6a13f0fc2
commit 167baff944
2 changed files with 8 additions and 0 deletions

View File

@@ -73,6 +73,10 @@
#include "chan_ooh323.h"
#include <math.h>
#ifndef IPTOS_MINCOST
#define IPTOS_MINCOST 0x02
#endif
#define FORMAT_STRING_SIZE 512
/* Defaults */

View File

@@ -17,6 +17,10 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#ifdef SOLARIS
#include <sys/sockio.h>
#endif
#include "asterisk/io.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"