Fix setspeed2 compilation

This commit is contained in:
Martin Lund 2022-02-15 03:47:24 +01:00
parent 1ae889fdb2
commit 3d08787142

View file

@ -13,12 +13,16 @@ tio_sources = [
'print.c' 'print.c'
] ]
tio_c_args = []
if enable_setspeed2 if enable_setspeed2
tio_sources += 'setspeed2.c' tio_sources += 'setspeed2.c'
tio_c_args += '-DHAVE_TERMIOS2'
endif endif
executable('tio', executable('tio',
tio_sources, tio_sources,
c_args: tio_c_args,
install: true ) install: true )
subdir('bash-completion') subdir('bash-completion')