summaryrefslogtreecommitdiff
path: root/net/openmdns/files/patch-mdnsd_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/openmdns/files/patch-mdnsd_control.h')
-rw-r--r--net/openmdns/files/patch-mdnsd_control.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/openmdns/files/patch-mdnsd_control.h b/net/openmdns/files/patch-mdnsd_control.h
new file mode 100644
index 000000000000..ab1eda7844b2
--- /dev/null
+++ b/net/openmdns/files/patch-mdnsd_control.h
@@ -0,0 +1,17 @@
+--- mdnsd/control.h.orig 2017-03-10 09:24:12 UTC
++++ mdnsd/control.h
+@@ -26,10 +26,12 @@
+
+ #include "mdnsd.h"
+
+-struct {
++struct control_state {
+ struct event ev;
+ int fd;
+-} control_state;
++};
++
++extern struct control_state control_state;
+
+ enum blockmodes {
+ BM_NORMAL,