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:
Russell Bryant
2004-11-08 00:08:58 +00:00
parent 014a0a178b
commit 0ae97da489

View File

@@ -19,7 +19,11 @@
#include <asterisk/chanvars.h>
#include <unistd.h>
#include <setjmp.h>
#if defined(__APPLE__)
#include <asterisk/poll-compat.h>
#else
#include <sys/poll.h>
#endif
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {