From 12ad49e444d6108b7312a46b389090d51b670a7f Mon Sep 17 00:00:00 2001 From: bbryant Date: Thu, 9 Sep 2010 18:50:13 +0000 Subject: Fixes an issue with dialplan pattern matching where the specificity for pattern ranges and pattern special characters was inconsistent. (closes issue #16903) Reported by: Nick_Lewis Patches: pbx.c-specificity.patch uploaded by Nick Lewis (license 657) Tested by: Nick_Lewis git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@285710 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/poll-compat.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/asterisk/poll-compat.h') diff --git a/include/asterisk/poll-compat.h b/include/asterisk/poll-compat.h index 1156e694b..c955f00bf 100644 --- a/include/asterisk/poll-compat.h +++ b/include/asterisk/poll-compat.h @@ -79,6 +79,8 @@ #ifndef __AST_POLL_COMPAT_H #define __AST_POLL_COMPAT_H +#include "asterisk/select.h" + #ifndef AST_POLL_COMPAT #include @@ -114,4 +116,10 @@ int ast_internal_poll(struct pollfd *pArray, unsigned long n_fds, int timeout); #endif /* AST_POLL_COMPAT */ +/*! + * \brief Same as poll(2), except the time is specified in microseconds and + * the tv argument is modified to indicate the time remaining. + */ +int ast_poll2(struct pollfd *pArray, unsigned long n_fds, struct timeval *tv); + #endif /* __AST_POLL_COMPAT_H */ -- cgit v1.2.3