chiark / gitweb /
logs-show: print a debug message when we skip entries without MESSAGE= fields
[elogind.git] / src / login / logind-seat.c
index e208112efd32f46589c44e85e1a85671ff2ce2c2..8198011c207c5586655039af8bbc297781eb98db 100644 (file)
@@ -30,6 +30,7 @@
 #include "util.h"
 #include "mkdir.h"
 #include "formats-util.h"
+#include "terminal-util.h"
 
 Seat *seat_new(Manager *m, const char *id) {
         Seat *s;
@@ -566,7 +567,7 @@ bool seat_can_graphical(Seat *s) {
 int seat_get_idle_hint(Seat *s, dual_timestamp *t) {
         Session *session;
         bool idle_hint = true;
-        dual_timestamp ts = { 0, 0 };
+        dual_timestamp ts = DUAL_TIMESTAMP_NULL;
 
         assert(s);