summaryrefslogtreecommitdiff
path: root/src/gpm-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-control.c')
-rw-r--r--src/gpm-control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c
index ebf052a..ec50136 100644
--- a/src/gpm-control.c
+++ b/src/gpm-control.c
@@ -39,6 +39,7 @@
#include <glib/gi18n.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
+#define UPOWER_ENABLE_DEPRECATED
#include <libupower-glib/upower.h>
#ifdef WITH_KEYRING