Index: funcs/func_lock.c =================================================================== --- funcs/func_lock.c (revision 249755) +++ funcs/func_lock.c (working copy) @@ -165,7 +165,7 @@ static void *lock_broker(void *unused) { struct lock_frame *frame; - struct timespec forever = { 1000000, 0 }; + struct timespec forever = { .tv_sec = 1000000 }; for (;;) { int found_requester = 0; Index: main/stdtime/localtime.c =================================================================== --- main/stdtime/localtime.c (revision 249755) +++ main/stdtime/localtime.c (working copy) @@ -239,7 +239,7 @@ } buf; ssize_t res; struct state *cur; - struct timespec ten_seconds = { 10, 0 }; + struct timespec ten_seconds = { .tv_sec = 10 }; inotify_fd = inotify_init(); @@ -323,7 +323,7 @@ { struct stat st, lst; struct state *cur; - struct timespec sixty_seconds = { 60, 0 }; + struct timespec sixty_seconds = { .tv_sec = 60 }; ast_mutex_lock(&initialization_lock); ast_cond_signal(&initialization);