mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
fix build for Mac OSX (bug #2803)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -19,7 +19,11 @@
|
|||||||
#include <asterisk/chanvars.h>
|
#include <asterisk/chanvars.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
#include <asterisk/poll-compat.h>
|
||||||
|
#else
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Reference in New Issue
Block a user