mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
ntdll/unix: Fix building on musl by explicitly including asm/ioctls.h.
After commit 898ab8dab1
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: Fotios Valasiadis <fvalasiad@gmail.com>
This commit is contained in:
parent
e86e6a6f48
commit
24ca848c56
|
@ -33,6 +33,7 @@
|
|||
#include <stdio.h>
|
||||
#ifdef HAVE_ASM_TERMBITS_H
|
||||
# include <asm/termbits.h>
|
||||
# include <asm/ioctls.h>
|
||||
#else
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue