summaryrefslogtreecommitdiff
path: root/data/ruby/mdns.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/ruby/mdns.diff')
-rw-r--r--data/ruby/mdns.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ruby/mdns.diff b/data/ruby/mdns.diff
index 436e1d7a4..c4445ed63 100644
--- a/data/ruby/mdns.diff
+++ b/data/ruby/mdns.diff
@@ -13,7 +13,7 @@ diff -ru ruby-1.8.6-p111/main.c ruby-1.8.6-p111+iPhone/main.c
{
+ struct nlist nl[2];
+ memset(nl, 0, sizeof(nl));
-+ nl[0].n_un.n_name = "_useMDNSResponder";
++ nl[0].n_un.n_name = (char *) "_useMDNSResponder";
+ nlist("/usr/lib/libc.dylib", nl);
+ if (nl[0].n_type != N_UNDF)
+ *(int *) nl[0].n_value = 0;