diff --git a/utils/extconf.c b/utils/extconf.c index ff17b9663e0acd40ae8d27cc6d2bc3123b2b7395..992126728de506f173bd11166f3e94ea37120b91 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -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; +} +