error: redefinition of ‘struct termios’解决方案

xingyun86 2022-8-12 569

/bits/termios.h:28:8: error: redefinition of ‘struct termios’

解决方案:

#define termios asmtermios
#include <asm/termios.h>
#undef  termios
#include <termios.h>

无论如何,这也可以让您摆脱 error: redefinition of 'struct termios' .

×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回