From 3e606e69d7e1bb7af90c641a65444f12ea023033 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Tue, 19 Jan 2016 22:13:54 -0500 Subject: [PATCH] Use asm/ioctls.h if TIOCSIG is not defined in ioctl.h Fixes building on musl libc. --- src/pty.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pty.c b/src/pty.c index 3494104..265b75a 100644 --- a/src/pty.c +++ b/src/pty.c @@ -42,6 +42,10 @@ #include "shl_misc.h" #include "shl_ring.h" +#ifndef TIOCSIG +#include +#endif + #define LOG_SUBSYSTEM "pty" #define KMSCON_NREAD 16384 -- 2.7.0