mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <setjmp.h>
|
||||
#if defined(__APPLE__)
|
||||
#ifdef POLLCOMPAT
|
||||
#include "asterisk/poll-compat.h"
|
||||
#else
|
||||
#include <sys/poll.h>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#ifndef _ASTERISK_IO_H
|
||||
#define _ASTERISK_IO_H
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifdef POLLCOMPAT
|
||||
#include "asterisk/poll-compat.h"
|
||||
#else
|
||||
#include <sys/poll.h> /* For POLL* constants */
|
||||
|
Reference in New Issue
Block a user