]> granicus.if.org Git - gc/commit
Fix 'size of tv is unknown' error in brief_async_signal_safe_sleep (musl)
authorMikael Djurfeldt <mikael@djurfeldt.com>
Sun, 26 Feb 2017 19:09:56 +0000 (20:09 +0100)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 2 Mar 2017 21:39:10 +0000 (00:39 +0300)
commitffad61d3bbe86c09ffe062dab393fcb0e4940580
treefe22b35eebacd68be5a5132a069a93dc3900ab21
parent8f2030325ee6edea4177c03d4ccf8076a3f78adf
Fix 'size of tv is unknown' error in brief_async_signal_safe_sleep (musl)
(fix commits 62097c39f48082)

Include <sys/time.h> to get struct timeval defined and select() declared.

* pthread_stop_world.c [GC_ENABLE_SUSPEND_THREAD]: Include sys/time.h
before GC_brief_async_signal_safe_sleep definition.
pthread_stop_world.c