summaryrefslogtreecommitdiff
path: root/src/skadns
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/skadns
parent64e1ab114e6fcf5e8405fb579f3ce71a5f146b28 (diff)
downloads6-dns-78585c170875e78fe58fd80ea74916dd41e25bb9.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/skadns')
-rw-r--r--src/skadns/skadns_update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/skadns/skadns_update.c b/src/skadns/skadns_update.c
index e26ead0..b6dcca0 100644
--- a/src/skadns/skadns_update.c
+++ b/src/skadns/skadns_update.c
@@ -1,20 +1,20 @@
/* ISC license. */
-/* Hey, OpenBSD, are you aware ECANCELED is POSIX? */
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE
-#endif
+#include <skalibs/nonposix.h>
#include <sys/uio.h>
#include <string.h>
#include <stdint.h>
#include <errno.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/error.h>
#include <skalibs/uint16.h>
#include <skalibs/alloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/textclient.h>
+
#include <s6-dns/skadns.h>
static int msghandler (struct iovec const *v, void *context)