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 /src/skadns/skadns_update.c | |
parent | 7f80651fe6a86d4d158cb84a4974bfb788737802 (diff) | |
download | s6-dns-219c9304e9d7b1d966bb7163936e99aeb4ec2727.tar.xz |
It's harder to compile on OpenBSD than on Solaris and MacOS X, ffs.
Diffstat (limited to 'src/skadns/skadns_update.c')
-rw-r--r-- | src/skadns/skadns_update.c | 5 |
1 files changed, 5 insertions, 0 deletions
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> |