mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-23 10:30:31 +01:00
On linux use <termios.h> instead of <termio.h>
<termio.h> is obsolete. Using <termios.h> instead fixes building with
musl libc.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Felix Janda <felix.janda@posteo.de>
(cherry picked from commit e8e3368298)
This commit is contained in:
parent
e863ab57eb
commit
d2e4a9d4ac
1 changed files with 0 additions and 4 deletions
|
|
@ -183,11 +183,7 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX];
|
|||
#include <sys/types.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <termio.h>
|
||||
#else /* __GLIBC__ */
|
||||
#include <termios.h>
|
||||
#endif
|
||||
#ifdef __sparc__
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue