e20ebcf10a
Closes #10868. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
17 lines
426 B
Diff
17 lines
426 B
Diff
--- src/pty.c
|
|
+++ src/pty.c
|
|
@@ -46,6 +46,14 @@
|
|
|
|
#define KMSCON_NREAD 16384
|
|
|
|
+/* ever since glibc 2.26 SIGUNUSED is no longer defined on any architerture
|
|
+ * http://man7.org/linux/man-pages/man7/signal.7.html
|
|
+ * according to signal(7) SIGUNUSED is synonymous with SIGSYS, musl defines it as such
|
|
+ */
|
|
+#ifdef __GLIBC__
|
|
+#define SIGUNUSED SIGSYS
|
|
+#endif
|
|
+
|
|
struct kmscon_pty {
|
|
unsigned long ref;
|
|
struct ev_eloop *eloop;
|