From 3306a8dfb126dd731e659145baa5ea17ca9e11dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Mon, 27 Nov 2017 14:27:28 +0100 Subject: [PATCH] Add missing header file under musl-libc Musl's inclusion tree slightly differs from glibc, therefore TCGETS2 is not reachable through sys/ioctl.h, so asm/ioctls.h needs to be included too. --- src/setspeed2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/setspeed2.c b/src/setspeed2.c index fa04fca..0adf695 100644 --- a/src/setspeed2.c +++ b/src/setspeed2.c @@ -20,6 +20,7 @@ */ #include +#include #include int setspeed2(int fd, int baudrate)