aboutsummaryrefslogtreecommitdiffstats
path: root/net/openmdns/files/patch-mdnsd_control.h
blob: ab1eda7844b20ddc846a567f3acbd596aced6853 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,