Fix trunk build on Mac OS X.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268896 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
9b1a36a294
commit
701fa860a9
|
@ -6255,3 +6255,13 @@ int localized_pbx_load_module(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* For platforms which don't have pthread_rwlock_timedrdlock() */
|
||||
struct timeval ast_tvnow(void);
|
||||
|
||||
struct timeval ast_tvnow(void)
|
||||
{
|
||||
struct timeval t;
|
||||
gettimeofday(&t, NULL);
|
||||
return t;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue