The target needs this header, encode this in the build system.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
linux/nsfs.h
linux/mount.h
linux/pr.h
+ linux/rfkill.h
linux/securebits.h
linux/tiocl.h
linux/version.h
bashcompletions += ['ipcs']
endif
-opt = get_option('build-rfkill').allowed()
+opt = get_option('build-rfkill') \
+ .require(conf.get('HAVE_LINUX_RFKILL_H').to_string() == '1') \
+ .allowed()
exe = executable(
'rfkill',
rfkill_sources,