Browse Source

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

Ryan C. Gordon 6 years ago
parent
commit
fac40f8e4c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/linux/SDL_dbus.c

+ 2 - 0
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