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:
		
							parent
							
								
									dfa8b37cfb
								
							
						
					
					
						commit
						e8e3368298
					
				| 
						 | 
					@ -183,11 +183,7 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX];
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __linux__
 | 
					 | 
				
			||||||
#include <termio.h>
 | 
					 | 
				
			||||||
#else                           /* __GLIBC__ */
 | 
					 | 
				
			||||||
#include <termios.h>
 | 
					#include <termios.h>
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef __sparc__
 | 
					#ifdef __sparc__
 | 
				
			||||||
#include <sys/param.h>
 | 
					#include <sys/param.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue