summaryrefslogtreecommitdiff
path: root/chromium/base/third_party/xdg_mime/compile.patch
blob: cd055edc03fb2731e37c048d03a7b18da4bedf82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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);
   }
 }
-
-