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>
This commit is contained in:
Felix Janda 2015-08-17 20:25:53 +02:00 committed by Adam Jackson
parent dfa8b37cfb
commit e8e3368298
1 changed files with 0 additions and 4 deletions

View File

@ -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