use poll as detected by configure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2007-11-17 03:07:06 +00:00
parent 3b1f69deea
commit 5862c55451
3 changed files with 7 additions and 14 deletions

View File

@@ -23,10 +23,10 @@
#ifndef _ASTERISK_IO_H
#define _ASTERISK_IO_H
#ifdef POLLCOMPAT
#include "asterisk/poll-compat.h"
#else
#ifdef HAVE_POLL
#include <sys/poll.h> /* For POLL* constants */
#else
#include "asterisk/poll-compat.h"
#endif
#if defined(__cplusplus) || defined(c_plusplus)