summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_cancel.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 11:53:49 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 11:53:49 +0000
commit219c9304e9d7b1d966bb7163936e99aeb4ec2727 (patch)
treeec7012ba4245cd4ff5c5e635d977bef6629c75fc /src/skadns/skadns_cancel.c
parent7f80651fe6a86d4d158cb84a4974bfb788737802 (diff)
downloads6-dns-219c9304e9d7b1d966bb7163936e99aeb4ec2727.tar.xz
It's harder to compile on OpenBSD than on Solaris and MacOS X, ffs.
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>