summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_domain_decode.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:35:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:35:14 +0000
commit78585c170875e78fe58fd80ea74916dd41e25bb9 (patch)
treeee33d05d9b34f1a79936d16a0a2978fc58bf5131 /src/libs6dns/s6dns_domain_decode.c
parent64e1ab114e6fcf5e8405fb579f3ce71a5f146b28 (diff)
downloads6-dns-78585c170875e78fe58fd80ea74916dd41e25bb9.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/libs6dns/s6dns_domain_decode.c')
-rw-r--r--src/libs6dns/s6dns_domain_decode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_domain_decode.c b/src/libs6dns/s6dns_domain_decode.c
index 440f672..6fea0d6 100644
--- a/src/libs6dns/s6dns_domain_decode.c
+++ b/src/libs6dns/s6dns_domain_decode.c
@@ -1,8 +1,10 @@
/* ISC license. */
#include <errno.h>
-#include <skalibs/error.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/bytestr.h>
+
#include <s6-dns/s6dns-domain.h>
static inline unsigned int s6dns_domain_label_decode (char *s, unsigned int max)