summaryrefslogtreecommitdiffstats
path: root/main/hunspell/fix-includes.patch
blob: 8f9b16dadfb9312a9da2878627bbc3b6ce1c030e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- hunspell-1.3.3.orig/src/tools/munch.c
+++ hunspell-1.3.3/src/tools/munch.c
@@ -9,7 +9,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <limits.h>
-#if defined(__linux__) && !defined(__ANDROID__)
+#if defined(__GLIBC__)
 #include <error.h>
 #include <errno.h>
 #include <sys/mman.h>
--- hunspell-1.3.3.orig/src/tools/unmunch.c
+++ hunspell-1.3.3/src/tools/unmunch.c
@@ -10,7 +10,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#if defined(__linux__) && !defined(__ANDROID__)
+#if defined(__GLIBC__)
 #include <error.h>
 #include <errno.h>
 #include <sys/mman.h>