From 1f236e69b86f17b949d640e9560cb80a69f7dec1 Mon Sep 17 00:00:00 2001 From: callmetango Date: Tue, 27 Jan 2026 21:52:12 +0000 Subject: [PATCH] meson.build: fix missing config.h include Add include_directory arguments to the meson.build files in src and tools so the config.h include can be found. Fixes: #57 Signed-off-by: callmetango --- src/meson.build | 1 + tools/meson.build | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/meson.build b/src/meson.build index 74e1b9cb..74065e6c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -136,6 +136,7 @@ endif shared_module('intel_drv', sources : intel_drv_sources, dependencies : intel_drv_deps, + include_directories: inc, link_with : intel_drv_libs, c_args : [ '-DMAJOR_IN_SYSMACROS', diff --git a/tools/meson.build b/tools/meson.build index 3df33385..17ff1aee 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -18,6 +18,7 @@ if with_tools c_args : [ '-Wno-unused-parameter', ], + include_directories: inc, install : true) configure_file(input : 'intel-virtual-output.man', @@ -54,6 +55,7 @@ if with_tools c_args : [ '-Wno-unused-parameter', ], + include_directories: inc, install : false) endif @@ -81,6 +83,7 @@ if with_backlight_helper c_args : [ '-DMAJOR_IN_SYSMACROS', ], + include_directories: inc, install : true) polkit_config = configuration_data()