Add to last commit, make use of HAVE_DBUS_1

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-12-03 12:27:49 +01:00
parent 0dc60f526c
commit 7d08d7f24e
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "JackControlAPIAndroid.h"
#endif
#if defined(JACK_DBUS) && defined(__linux__)
#if defined(HAVE_DBUS_1) && defined(__linux__)
#include <cstdlib>
#include <dbus/dbus.h>
#include "audio_reserve.h"
@ -325,7 +325,7 @@ int main(int argc, char** argv)
bool notify_sent = false;
copyright(stdout);
#if defined(JACK_DBUS) && defined(__linux__)
#if defined(HAVE_DBUS_1) && defined(__linux__)
if (getenv("JACK_NO_AUDIO_RESERVATION"))
server_ctl = jackctl_server_create2(NULL, NULL, NULL);
else