summaryrefslogtreecommitdiff
path: root/src/gpm-prefs-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-prefs-core.c')
-rw-r--r--src/gpm-prefs-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c
index d1795dd..7a2662d 100644
--- a/src/gpm-prefs-core.c
+++ b/src/gpm-prefs-core.c
@@ -30,6 +30,7 @@
#include <dbus/dbus-glib.h>
#include <math.h>
#include <string.h>
+#define UPOWER_ENABLE_DEPRECATED
#include <libupower-glib/upower.h>
#include "egg-debug.h"