summaryrefslogtreecommitdiff
path: root/src/shared/utmp-wtmp.c
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 23:15:59 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-11 00:34:02 +0200
commit288a74cce597f81d3ba01d8a5ca7d2ba5b654b7e (patch)
tree66f8131648bd8ba51e7039f7b7be712e1a5f494e /src/shared/utmp-wtmp.c
parent3df3e884ae1237ef0d4d23b0e80f4ffda95ac135 (diff)
shared: add terminal-util.[ch]
Diffstat (limited to 'src/shared/utmp-wtmp.c')
-rw-r--r--src/shared/utmp-wtmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c
index 7fb6fe3a67..d6c4cc81b3 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/shared/utmp-wtmp.c
@@ -30,6 +30,7 @@
#include "macro.h"
#include "path-util.h"
#include "utmp-wtmp.h"
+#include "terminal-util.h"
int utmp_get_runlevel(int *runlevel, int *previous) {
struct utmpx *found, lookup = { .ut_type = RUN_LVL };