summaryrefslogtreecommitdiff
path: root/src/skadns
diff options
context:
space:
mode:
Diffstat (limited to 'src/skadns')
-rw-r--r--src/skadns/skadns_cancel.c5
-rw-r--r--src/skadns/skadns_release.c5
-rw-r--r--src/skadns/skadns_update.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/skadns/skadns_cancel.c b/src/skadns/skadns_cancel.c
index 13db918..7c76797 100644
--- a/src/skadns/skadns_cancel.c
+++ b/src/skadns/skadns_cancel.c
@@ -1,5 +1,10 @@
/* ISC license. */
+/* OpenBSD sucks */
+#ifndef _BSD_SOURCE
+#define _BSD_SOURCE
+#endif
+
#include <errno.h>
#include <skalibs/uint16.h>
#include <skalibs/error.h>
diff --git a/src/skadns/skadns_release.c b/src/skadns/skadns_release.c
index 9fba737..0cd4dc0 100644
--- a/src/skadns/skadns_release.c
+++ b/src/skadns/skadns_release.c
@@ -1,5 +1,10 @@
/* ISC license. */
+/* OpenBSD sucks */
+#ifndef _BSD_SOURCE
+#define _BSD_SOURCE
+#endif
+
#include <errno.h>
#include <skalibs/uint16.h>
#include <skalibs/alloc.h>
diff --git a/src/skadns/skadns_update.c b/src/skadns/skadns_update.c
index 3a86b57..73edba2 100644
--- a/src/skadns/skadns_update.c
+++ b/src/skadns/skadns_update.c
@@ -1,5 +1,10 @@
/* ISC license. */
+/* OpenBSD sucks */
+#ifndef _BSD_SOURCE
+#define _BSD_SOURCE
+#endif
+
#include <errno.h>
#include <skalibs/error.h>
#include <skalibs/uint16.h>