projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.0.717
[darkstat-debian]
/
dns.c
diff --git
a/dns.c
b/dns.c
index
e8bdbb4
..
c89dc1b
100644
(file)
--- a/
dns.c
+++ b/
dns.c
@@
-29,6
+29,11
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
+#ifdef __NetBSD__
+# define gethostbyaddr(addr, len, type) \
+ gethostbyaddr((const char *)(addr), len, type)
+#endif
+
static void dns_main(void) _noreturn_; /* the child process runs this */
#define CHILD 0 /* child process uses this socket */
static void dns_main(void) _noreturn_; /* the child process runs this */
#define CHILD 0 /* child process uses this socket */