Commit 24ca848c authored by Fotios Valasiadis's avatar Fotios Valasiadis Committed by Alexandre Julliard

ntdll/unix: Fix building on musl by explicitly including asm/ioctls.h.

After commit 898ab8da wine would no longer build on musl. Issue is that apparently TCSETS2 isn't defined when including sys/ioctl.h. A little digging shows that glibc goes ahead and includes asm/ioctls.h in sys/ioctl.h, providing said macro. Musl on the other hand doesn't and relies on bits/ioctl.h, which lacks said macro. Signed-off-by: 's avatarFotios Valasiadis <fvalasiad@gmail.com>
parent e86e6a6f
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_ASM_TERMBITS_H #ifdef HAVE_ASM_TERMBITS_H
# include <asm/termbits.h> # include <asm/termbits.h>
# include <asm/ioctls.h>
#else #else
# include <termios.h> # include <termios.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment