From: Thomas Weißschuh Date: Wed, 29 Apr 2026 12:05:53 +0000 (+0200) Subject: meson: gate irqtop on sys/epoll.h and cpu_set_t X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c8a212685dc329f9383c9e1ce9ce119c88dd1b4;p=thirdparty%2Futil-linux.git meson: gate irqtop on sys/epoll.h and cpu_set_t The target needs these, encode this in the build system. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index f768252a5..c899a281a 100644 --- a/meson.build +++ b/meson.build @@ -143,6 +143,7 @@ headers = ''' sys/disk.h sys/disklabel.h sys/endian.h + sys/epoll.h sys/file.h sys/io.h sys/ioccom.h @@ -2277,7 +2278,10 @@ if opt and not is_disabler(exe) bashcompletions += ['lsirq'] endif -opt = get_option('build-irqtop').allowed() +opt = get_option('build-irqtop') \ + .require(conf.get('HAVE_SYS_EPOLL_H').to_string() == '1') \ + .require(conf.get('HAVE_CPU_SET_T').to_string() == '1') \ + .allowed() exe = executable( 'irqtop', irqtop_sources,