diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-08-17 20:25:53 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-10-26 12:18:15 -0400 |
commit | d2e4a9d4ac2f479de23e15af5e528cfa2bffb30f (patch) | |
tree | a2e3c9952c530729c9991df02eaffc10edf3996d | |
parent | e863ab57eb94f32485a501e547eedc96f9249ad1 (diff) |
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 e8e3368298c98a1292bb1c727e2f3d56539e2eac)
-rw-r--r-- | hw/xfree86/os-support/xf86_OSlib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 6190fe6a0..95c3a7365 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -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 |