diff --git a/spa/plugins/v4l2/meson.build b/spa/plugins/v4l2/meson.build index 1dfe92cf8..de1958060 100644 --- a/spa/plugins/v4l2/meson.build +++ b/spa/plugins/v4l2/meson.build @@ -10,6 +10,7 @@ endif v4l2lib = shared_library('spa-v4l2', v4l2_sources, + include_directories : [ configinc ], dependencies : v4l2_dependencies, install : true, install_dir : spa_plugindir / 'v4l2') diff --git a/spa/plugins/v4l2/v4l2.c b/spa/plugins/v4l2/v4l2.c index ed39f3bd5..71489320d 100644 --- a/spa/plugins/v4l2/v4l2.c +++ b/spa/plugins/v4l2/v4l2.c @@ -7,6 +7,7 @@ #include #include +#include "config.h" #include "v4l2.h" extern const struct spa_handle_factory spa_v4l2_source_factory;