Commit fac40f8e4ca213651f1db0fb7b7f76a182c0f024

Ryan C. Gordon 2018-12-01T11:14:20

Patched to compile on Linux with threads enabled. (whoops!)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/core/linux/SDL_dbus.c b/src/core/linux/SDL_dbus.c
index c227419..072767f 100644
--- a/src/core/linux/SDL_dbus.c
+++ b/src/core/linux/SDL_dbus.c
@@ -24,6 +24,8 @@
 #if !SDL_THREADS_DISABLED
 #include <sys/time.h>
 #include <sys/resource.h>
+#include <pthread.h>
+#include "SDL_system.h"
 #endif
 
 #if SDL_USE_LIBDBUS