Bug 1028913 - Fix bustage when --disable-dbus is set. r=karlt

This commit is contained in:
Martin Stransky 2014-06-23 07:24:00 -04:00
parent 70287d27d7
commit 3ec3da8b15

View File

@ -5,13 +5,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef MOZ_ENABLE_DBUS
#include <dbus/dbus.h>
#include <dbus/dbus-glib-lowlevel.h>
#include "WakeLockListener.h"
#ifdef MOZ_ENABLE_DBUS
#define FREEDESKTOP_SCREENSAVER_TARGET "org.freedesktop.ScreenSaver"
#define FREEDESKTOP_SCREENSAVER_OBJECT "/ScreenSaver"
#define FREEDESKTOP_SCREENSAVER_INTERFACE "org.freedesktop.ScreenSaver"