aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/fontforge/fontforge/0001-include-sys-select-on-non-glibc-platforms.patch
blob: 27de27d57d1c916c8e9465b400e2e17839c033da (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
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