meson: Include fpi-context.h in generated fp-drivers.c

This commit is contained in:
Marco Trevisan (Treviño) 2019-12-04 13:34:14 +01:00
parent cacce50ef9
commit a176fa1d34

View file

@ -118,6 +118,7 @@ endforeach
# Export the drivers' types to the core code
drivers_type_list = '#include <glib-object.h>\n'
drivers_type_list += '#include "fpi-context.h"\n'
drivers_type_func = 'void fpi_get_driver_types(GArray *drivers)\n{\n\tGType t;\n'
foreach driver: drivers
drivers_type_list += 'extern GType (fpi_device_' + driver + '_get_type) (void);\n'