[PATCH xserver] On linux use <termios.h> instead of <termio.h>

Felix Janda felix.janda at posteo.de
Tue Jan 27 10:24:10 PST 2015


<termio.h> is obsolete. This fixes building with musl libc.

Signed-off-by: Felix Janda <felix.janda at posteo.de>
---
 hw/xfree86/os-support/xf86_OSlib.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h
index 6190fe6..95c3a73 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
-- 
2.0.5


More information about the xorg-devel mailing list