mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-04 13:21:54 +00:00
Merged revisions 184147 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r184147 | russell | 2009-03-24 20:42:10 -0500 (Tue, 24 Mar 2009) | 5 lines Fix build issues on Mac OSX. (closes issue #14714) Reported by: ygor ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@184149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -38,6 +38,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/time.h"
|
||||
#include "asterisk/heap.h"
|
||||
#include "asterisk/module.h"
|
||||
#include "asterisk/poll-compat.h"
|
||||
|
||||
struct timing_holder {
|
||||
/*! Do _not_ move this from the beginning of the struct. */
|
||||
@@ -290,7 +291,7 @@ static char *timing_test(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
|
||||
.events = POLLIN | POLLPRI,
|
||||
};
|
||||
|
||||
res = poll(&pfd, 1, 100);
|
||||
res = ast_poll(&pfd, 1, 100);
|
||||
|
||||
if (res == 1) {
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user