cc -g   -c term.c
term.c:123: storage size of `oldb' isn't known
term.c:124: storage size of `newb' isn't known
term.c: In function term_susp:
term.c:205: `TIOCSLTC' undeclared (first use this function)
term.c:205: (Each undeclared identifier is reported only once
term.c:205: for each function it appears in.)
term.c: In function term_reset:
term.c:293: `TIOCSLTC' undeclared (first use this function)
term.c:294: `TIOCSETP' undeclared (first use this function)
term.c:295: `TIOCSETC' undeclared (first use this function)
term.c: In function term_cont:
term.c:331: `TIOCSLTC' undeclared (first use this function)
term.c:332: `TIOCSETC' undeclared (first use this function)
term.c:333: `TIOCSETP' undeclared (first use this function)
term.c: In function term_init:
term.c:392: `TIOCGLTC' undeclared (first use this function)
term.c:393: `TIOCSLTC' undeclared (first use this function)
term.c:394: `TIOCGETC' undeclared (first use this function)
term.c:404: `TIOCSETC' undeclared (first use this function)
term.c:406: `TIOCGETP' undeclared (first use this function)
term.c:407: `newb' has an incomplete type
term.c:409: invalid use of undefined type `struct sgttyb'
term.c:409: `CBREAK' undeclared (first use this function)
term.c:413: invalid use of undefined type `struct sgttyb'
term.c:413: `CRMOD' undeclared (first use this function)
term.c:415: invalid use of undefined type `struct sgttyb'
term.c:417: `TIOCSETP' undeclared (first use this function)
term.c: In function term_eight_bit:
term.c:802: `old_local_modes' undeclared (first use this function)
term.c:802: `LPASS8' undeclared (first use this function)
term.c: At top level:
term.c:124: storage size of static var `newb' isn't known
term.c:123: storage size of static var `oldb' isn't known
*** Error code 1

Stop.
