diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 03:07:06 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 03:07:06 +0000 |
commit | 5862c55451c31a5e579a552aadaab0e33f08ed63 (patch) | |
tree | 27f5e67247eedbb630c477f8e31f1c92ca5b9e1a /include/asterisk/io.h | |
parent | 3b1f69deea9fa7260b761d521140d5b2849c1976 (diff) |
use poll as detected by configure
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/io.h')
-rw-r--r-- | include/asterisk/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/io.h b/include/asterisk/io.h index 8752a6d32..247d0de72 100644 --- a/include/asterisk/io.h +++ b/include/asterisk/io.h @@ -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) |