blob: afb138cae4b00bc04403352e544622c7da70c580 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- mdnsd/mdnsd.c.orig 2017-03-10 09:24:12 UTC
+++ mdnsd/mdnsd.c
@@ -45,8 +45,12 @@ int mdns_sock(void);
void fetchmyname(char [MAXHOSTNAMELEN]);
void fetchhinfo(struct hinfo *);
+ctl_conns_t ctl_conns;
+
struct mdnsd_conf *conf = NULL;
+#ifdef __OpenBSD__
extern char *malloc_options;
+#endif
__dead void
usage(void)
@@ -230,7 +234,9 @@ main(int argc, char *argv[])
switch (ch) {
case 'd':
debug = 1;
+#ifdef __OpenBSD__
malloc_options = "AFGJPX";
+#endif
break;
case 'v':
display_version();
|