Home | History | Annotate | Download | only in xdg_mime
      1 --- a/xdgmimecache.c
      2 +++ b/xdgmimecache.c
      3 @@ -40,6 +40,8 @@
      4  
      5  #include <netinet/in.h> /* for ntohl/ntohs */
      6  
      7 +#define HAVE_MMAP 1
      8 +
      9  #ifdef HAVE_MMAP
     10  #include <sys/mman.h>
     11  #else
     12 @@ -1000,5 +1002,3 @@
     13  	    dump_glob_node (cache, offset + 20 * j, 0);
     14    }
     15  }
     16 -
     17 -
     18 --- a/xdgmimeglob.c
     19 +++ b/xdgmimeglob.c
     20 @@ -375,7 +375,6 @@
     21    int i, n;
     22    MimeWeight mimes[10];
     23    int n_mimes = 10;
     24 -  xdg_unichar_t *ucs4;
     25    int len;
     26  
     27    /* First, check the literals */
     28