mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add macro hack to workaround older buggy glibc
This commit is contained in:
parent
cbfa118a2b
commit
27f4d31380
1 changed files with 2 additions and 1 deletions
|
|
@ -19,8 +19,9 @@
|
||||||
* 02110-1301, USA.
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define termios asmtermios
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <asm-generic/ioctls.h>
|
#undef termios
|
||||||
#include <asm-generic/termbits.h>
|
#include <asm-generic/termbits.h>
|
||||||
|
|
||||||
int setspeed2(int fd, int baudrate)
|
int setspeed2(int fd, int baudrate)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue