mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
23 lines
599 B
Diff
23 lines
599 B
Diff
--- 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>
|