From ae6be6837b18bb45058c455362339d8531de13d6 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 29 Apr 2021 15:25:58 +0200 Subject: [PATCH] doc: Use includes from the source diretory Before we try to use installed system includes, which is obviously not the best idea. --- doc/libfprint-2.types | 4 ++-- doc/meson.build | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/libfprint-2.types b/doc/libfprint-2.types index 9105af02..61cb58db 100644 --- a/doc/libfprint-2.types +++ b/doc/libfprint-2.types @@ -1,5 +1,5 @@ -#include -#include +#include +#include fp_context_get_type fp_device_get_type diff --git a/doc/meson.build b/doc/meson.build index a26e7c4a..1a45aad8 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -26,6 +26,7 @@ docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html') gnome.gtkdoc(versioned_libname, main_xml: 'libfprint-docs.xml', src_dir: join_paths(meson.source_root(), 'libfprint'), + include_directories: include_directories('../libfprint'), dependencies: libfprint_dep, content_files: content_files, expand_content_files: expand_content_files,