Commit 191fe25b1ad473b2da487912f55b20300c6e3159

Sam Lantinga 2019-09-27T15:21:31

Fixed rtkit feature guard

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/core/linux/SDL_threadprio.c b/src/core/linux/SDL_threadprio.c
index a09c1cf..05785b8 100644
--- a/src/core/linux/SDL_threadprio.c
+++ b/src/core/linux/SDL_threadprio.c
@@ -30,8 +30,9 @@
 #include <pthread.h>
 #include "SDL_system.h"
 
-#if HAVE_DBUS_DBUS_H
 #include "SDL_dbus.h"
+
+#if SDL_USE_LIBDBUS
 /* d-bus queries to org.freedesktop.RealtimeKit1. */
 #define RTKIT_DBUS_NODE "org.freedesktop.RealtimeKit1"
 #define RTKIT_DBUS_PATH "/org/freedesktop/RealtimeKit1"