Fixed rtkit feature guard
authorSam Lantinga <slouken@libsdl.org>
Fri, 27 Sep 2019 15:21:31 -0700
changeset 13097101d088cc8fa
parent 13096 1b8c4b058c46
child 13098 18ede62f3f14
Fixed rtkit feature guard
src/core/linux/SDL_threadprio.c
     1.1 --- a/src/core/linux/SDL_threadprio.c	Fri Sep 27 15:21:27 2019 -0700
     1.2 +++ b/src/core/linux/SDL_threadprio.c	Fri Sep 27 15:21:31 2019 -0700
     1.3 @@ -30,8 +30,9 @@
     1.4  #include <pthread.h>
     1.5  #include "SDL_system.h"
     1.6  
     1.7 -#if HAVE_DBUS_DBUS_H
     1.8  #include "SDL_dbus.h"
     1.9 +
    1.10 +#if SDL_USE_LIBDBUS
    1.11  /* d-bus queries to org.freedesktop.RealtimeKit1. */
    1.12  #define RTKIT_DBUS_NODE "org.freedesktop.RealtimeKit1"
    1.13  #define RTKIT_DBUS_PATH "/org/freedesktop/RealtimeKit1"