summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skadns/skadns_cancel.c')
-rw-r--r--src/skadns/skadns_cancel.c5
1 files changed, 5 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>