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:33:34 +02:00
parent ee3cbce5ba
commit 10de9fcbf1
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

@ -15,6 +15,10 @@
*****************************************************************************/
#include "asterisk.h"
#ifdef SOLARIS
#include <sys/sockio.h>
#endif
#include "asterisk/io.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"