summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_message_get_string_internal.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_string_internal.c
parent64e1ab114e6fcf5e8405fb579f3ce71a5f146b28 (diff)
downloads6-dns-78585c170875e78fe58fd80ea74916dd41e25bb9.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/libs6dns/s6dns_message_get_string_internal.c')
-rw-r--r--src/libs6dns/s6dns_message_get_string_internal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_message_get_string_internal.c b/src/libs6dns/s6dns_message_get_string_internal.c
index 9597c36..fe81f52 100644
--- a/src/libs6dns/s6dns_message_get_string_internal.c
+++ b/src/libs6dns/s6dns_message_get_string_internal.c
@@ -2,7 +2,9 @@
#include <string.h>
#include <errno.h>
-#include <skalibs/error.h>
+
+#include <skalibs/posixishard.h>
+
#include "s6dns-message-internal.h"
int s6dns_message_get_string_internal (char *s, size_t max, char const *packet, unsigned int packetlen, unsigned int *pos)