yquake2: fix musl build.

This commit is contained in:
maxice8 2018-03-29 08:49:18 -03:00 committed by Leаh Neukirchen
parent 52b8be4684
commit 59bbab2ee0
1 changed files with 10 additions and 0 deletions

View File

@ -17,3 +17,13 @@
void
printBacktrace(int sig)
{
--- src/backends/unix/system.c
+++ src/backends/unix/system.c
@@ -34,6 +34,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <sys/select.h>
#ifdef __APPLE__
#include <mach/clock.h>