aboutsummaryrefslogtreecommitdiff
path: root/src/wakeup-timer-powerd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wakeup-timer-powerd.cpp')
-rw-r--r--src/wakeup-timer-powerd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wakeup-timer-powerd.cpp b/src/wakeup-timer-powerd.cpp
index 42d93e7..ab6859f 100644
--- a/src/wakeup-timer-powerd.cpp
+++ b/src/wakeup-timer-powerd.cpp
@@ -22,6 +22,8 @@
#include <notifications/dbus-shared.h> // BUS_POWERD_NAME
+#include <gio/gio.h>
+
#include <memory> // std::shared_ptr
namespace unity {
@@ -195,7 +197,7 @@ private:
}
else
{
- const char* s = NULL;
+ const char* s = nullptr;
g_variant_get(ret, "(&s)", &s);
g_debug("%s %s::requestWakeup() sent cookie %s",
G_STRLOC, BUS_POWERD_NAME, s);