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