mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
chan_unistim: NetBSD has an incompatible struct in_pktinfo.
ASTERISK-27714 Reported by: John Nemeth Change-Id: I1b84a89315a5f61222123d21bf35c59224da8990
This commit is contained in:
@@ -43,7 +43,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include <sys/stat.h>
|
||||
#include <signal.h>
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
#if defined(__CYGWIN__) || defined(__NetBSD__)
|
||||
/*
|
||||
* cygwin headers are partly inconsistent. struct iovec is defined in sys/uio.h
|
||||
* which is not included by default by sys/socket.h - in_pktinfo is defined in
|
||||
@@ -55,7 +55,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#ifdef HAVE_PKTINFO
|
||||
#undef HAVE_PKTINFO
|
||||
#endif
|
||||
#endif /* __CYGWIN__ */
|
||||
#endif /* __CYGWIN__ || __NetBSD__ */
|
||||
|
||||
#include "asterisk/paths.h" /* ast_config_AST_LOG_DIR used in (too ?) many places */
|
||||
#include "asterisk/network.h"
|
||||
|
Reference in New Issue
Block a user