Fixed rtkit feature guard

This commit is contained in:
Sam Lantinga 2019-09-27 15:21:31 -07:00
parent 84dc44e24d
commit 191fe25b1a
1 changed files with 2 additions and 1 deletions

View File

@ -30,8 +30,9 @@
#include <pthread.h> #include <pthread.h>
#include "SDL_system.h" #include "SDL_system.h"
#if HAVE_DBUS_DBUS_H
#include "SDL_dbus.h" #include "SDL_dbus.h"
#if SDL_USE_LIBDBUS
/* d-bus queries to org.freedesktop.RealtimeKit1. */ /* d-bus queries to org.freedesktop.RealtimeKit1. */
#define RTKIT_DBUS_NODE "org.freedesktop.RealtimeKit1" #define RTKIT_DBUS_NODE "org.freedesktop.RealtimeKit1"
#define RTKIT_DBUS_PATH "/org/freedesktop/RealtimeKit1" #define RTKIT_DBUS_PATH "/org/freedesktop/RealtimeKit1"