diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-10 11:53:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-10 11:53:49 +0000 |
commit | 219c9304e9d7b1d966bb7163936e99aeb4ec2727 (patch) | |
tree | ec7012ba4245cd4ff5c5e635d977bef6629c75fc | |
parent | 7f80651fe6a86d4d158cb84a4974bfb788737802 (diff) | |
download | s6-dns-219c9304e9d7b1d966bb7163936e99aeb4ec2727.tar.xz |
It's harder to compile on OpenBSD than on Solaris and MacOS X, ffs.
-rw-r--r-- | src/skadns/skadns_cancel.c | 5 | ||||
-rw-r--r-- | src/skadns/skadns_release.c | 5 | ||||
-rw-r--r-- | src/skadns/skadns_update.c | 5 |
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> |