]> git.saurik.com Git - apt-legacy.git/blobdiff - methods/gzip.cc
Fix compilation of http when embedding into Cydia.
[apt-legacy.git] / methods / gzip.cc
index 13a7302c2d769b7dc3f3cb3cc5ea0c62f36aa5f4..f732c0b8600f227bd98e0fb088038aea4383e8c8 100644 (file)
@@ -1,7 +1,3 @@
-extern "C" {
-    #include <mach-o/nlist.h>
-}
-
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
 // $Id: gzip.cc,v 1.17.2.1 2004/01/16 18:58:50 mdz Exp $
@@ -166,13 +162,6 @@ bool GzipMethod::Fetch(FetchItem *Itm)
 
 int main(int argc, char *argv[])
 {
-   struct nlist nl[2];
-   memset(nl, 0, sizeof(nl));
-   nl[0].n_un.n_name = "_useMDNSResponder";
-   nlist("/usr/lib/libc.dylib", nl);
-   if (nl[0].n_type != N_UNDF)
-       *(int *) nl[0].n_value = 0;
-
    setlocale(LC_ALL, "");
 
    GzipMethod Mth;