summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 10:55:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 10:55:44 +0000
commitc0e3911a0f4accc77e4407ef60fa7bdb1d1d3b44 (patch)
tree5bb997fd436bf5f46e45421d3a26b8089a1444ec
parent5c520499d4953a45cb6dd5e285ba6143f82e7f97 (diff)
downloadutmps-c0e3911a0f4accc77e4407ef60fa7bdb1d1d3b44.tar.xz
Adapt to skalibs/posixishard.h
-rw-r--r--src/utmps/utmps-utmpd.c3
-rw-r--r--src/utmps/utmps-wtmpd.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/utmps/utmps-utmpd.c b/src/utmps/utmps-utmpd.c
index 06f3e9e..69d6b8e 100644
--- a/src/utmps/utmps-utmpd.c
+++ b/src/utmps/utmps-utmpd.c
@@ -5,9 +5,10 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/types.h>
#include <skalibs/env.h>
-#include <skalibs/error.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/buffer.h>
#include <skalibs/strerr2.h>
diff --git a/src/utmps/utmps-wtmpd.c b/src/utmps/utmps-wtmpd.c
index 7aff741..c08237a 100644
--- a/src/utmps/utmps-wtmpd.c
+++ b/src/utmps/utmps-wtmpd.c
@@ -5,8 +5,9 @@
#include <errno.h>
#include <unistd.h>
#include <pwd.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/types.h>
-#include <skalibs/error.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/buffer.h>
#include <skalibs/strerr2.h>