22 lines
382 B
Text
22 lines
382 B
Text
|
Fix -fno-common build error. Taken from
|
||
|
https://svnweb.freebsd.org/ports?view=revision&revision=549579
|
||
|
|
||
|
Index: mdnsd/control.h
|
||
|
--- mdnsd/control.h.orig
|
||
|
+++ 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,
|