mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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:
@@ -73,6 +73,10 @@
|
|||||||
#include "chan_ooh323.h"
|
#include "chan_ooh323.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#ifndef IPTOS_MINCOST
|
||||||
|
#define IPTOS_MINCOST 0x02
|
||||||
|
#endif
|
||||||
|
|
||||||
#define FORMAT_STRING_SIZE 512
|
#define FORMAT_STRING_SIZE 512
|
||||||
|
|
||||||
/* Defaults */
|
/* Defaults */
|
||||||
|
@@ -17,6 +17,10 @@
|
|||||||
|
|
||||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
|
#ifdef SOLARIS
|
||||||
|
#include <sys/sockio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "asterisk/io.h"
|
#include "asterisk/io.h"
|
||||||
#include "asterisk/lock.h"
|
#include "asterisk/lock.h"
|
||||||
#include "asterisk/utils.h"
|
#include "asterisk/utils.h"
|
||||||
|
Reference in New Issue
Block a user