summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_message_get_mx.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_message_get_mx.c
parent64e1ab114e6fcf5e8405fb579f3ce71a5f146b28 (diff)
downloads6-dns-78585c170875e78fe58fd80ea74916dd41e25bb9.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/libs6dns/s6dns_message_get_mx.c')
-rw-r--r--src/libs6dns/s6dns_message_get_mx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_message_get_mx.c b/src/libs6dns/s6dns_message_get_mx.c
index 8fb8abb..5b9f0d6 100644
--- a/src/libs6dns/s6dns_message_get_mx.c
+++ b/src/libs6dns/s6dns_message_get_mx.c
@@ -1,8 +1,10 @@
/* ISC license. */
#include <errno.h>
-#include <skalibs/error.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/uint16.h>
+
#include <s6-dns/s6dns-message.h>
int s6dns_message_get_mx (s6dns_message_rr_mx_t *mx, char const *packet, unsigned int packetlen, unsigned int *pos)