From 3d08787142ab72aabe28887ed85e03ee6c169b17 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Tue, 15 Feb 2022 03:47:24 +0100 Subject: [PATCH] Fix setspeed2 compilation --- src/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/meson.build b/src/meson.build index 40532e5..a1d5502 100644 --- a/src/meson.build +++ b/src/meson.build @@ -13,12 +13,16 @@ tio_sources = [ 'print.c' ] +tio_c_args = [] + if enable_setspeed2 tio_sources += 'setspeed2.c' + tio_c_args += '-DHAVE_TERMIOS2' endif executable('tio', tio_sources, + c_args: tio_c_args, install: true ) subdir('bash-completion')