diff options
Diffstat (limited to 'meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch')
-rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch b/meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch new file mode 100644 index 0000000000..27de27d57d --- /dev/null +++ b/meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch @@ -0,0 +1,24 @@ +From 798f2816130838f3618212291de6ab0ea814c868 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sun, 29 Sep 2019 20:39:02 -0700 +Subject: [PATCH] include sys/select on non-glibc platforms + +musl needs sys/select.h for defining fd_set + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + gdraw/gdraw.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/gdraw/gdraw.c ++++ b/gdraw/gdraw.c +@@ -33,7 +33,7 @@ + #include "gkeysym.h" + #include "ustring.h" + +-#if __Mac ++#if __Mac || (defined(__linux__) && !defined(__GLIBC__)) + # include <sys/select.h> + #endif + |