blob: 27de27d57d1c916c8e9465b400e2e17839c033da [file] [log] [blame]
Brad Bishop36a3e3e2019-10-02 13:29:27 -04001From 798f2816130838f3618212291de6ab0ea814c868 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 29 Sep 2019 20:39:02 -0700
4Subject: [PATCH] include sys/select on non-glibc platforms
5
6musl needs sys/select.h for defining fd_set
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 gdraw/gdraw.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
Brad Bishop36a3e3e2019-10-02 13:29:27 -040014--- a/gdraw/gdraw.c
15+++ b/gdraw/gdraw.c
Andrew Geissler615f2f12022-07-15 14:00:58 -050016@@ -33,7 +33,7 @@
Brad Bishop36a3e3e2019-10-02 13:29:27 -040017 #include "gkeysym.h"
18 #include "ustring.h"
19
Andrew Geissler615f2f12022-07-15 14:00:58 -050020-#if __Mac
21+#if __Mac || (defined(__linux__) && !defined(__GLIBC__))
Brad Bishop36a3e3e2019-10-02 13:29:27 -040022 # include <sys/select.h>
23 #endif
24