mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 20:56:39 +00:00
Merge "chan_unistim: NetBSD has an incompatible struct in_pktinfo."
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <signal.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
|
* 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
|
* which is not included by default by sys/socket.h - in_pktinfo is defined in
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
#ifdef HAVE_PKTINFO
|
#ifdef HAVE_PKTINFO
|
||||||
#undef HAVE_PKTINFO
|
#undef HAVE_PKTINFO
|
||||||
#endif
|
#endif
|
||||||
#endif /* __CYGWIN__ */
|
#endif /* __CYGWIN__ || __NetBSD__ */
|
||||||
|
|
||||||
#include "asterisk/paths.h" /* ast_config_AST_LOG_DIR used in (too ?) many places */
|
#include "asterisk/paths.h" /* ast_config_AST_LOG_DIR used in (too ?) many places */
|
||||||
#include "asterisk/network.h"
|
#include "asterisk/network.h"
|
||||||
|
Reference in New Issue
Block a user