Add to last commit, make use of HAVE_DBUS_1
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
0dc60f526c
commit
7d08d7f24e
|
@ -38,7 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#include "JackControlAPIAndroid.h"
|
#include "JackControlAPIAndroid.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(JACK_DBUS) && defined(__linux__)
|
#if defined(HAVE_DBUS_1) && defined(__linux__)
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <dbus/dbus.h>
|
#include <dbus/dbus.h>
|
||||||
#include "audio_reserve.h"
|
#include "audio_reserve.h"
|
||||||
|
@ -325,7 +325,7 @@ int main(int argc, char** argv)
|
||||||
bool notify_sent = false;
|
bool notify_sent = false;
|
||||||
|
|
||||||
copyright(stdout);
|
copyright(stdout);
|
||||||
#if defined(JACK_DBUS) && defined(__linux__)
|
#if defined(HAVE_DBUS_1) && defined(__linux__)
|
||||||
if (getenv("JACK_NO_AUDIO_RESERVATION"))
|
if (getenv("JACK_NO_AUDIO_RESERVATION"))
|
||||||
server_ctl = jackctl_server_create2(NULL, NULL, NULL);
|
server_ctl = jackctl_server_create2(NULL, NULL, NULL);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue