Index: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
index c54668d211a591eb6eed816ffafaa57d34695a68..a5df160d0ef037723e67b3cabe92763c2d9f94f6 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
@@ -35,6 +35,9 @@ |
{%- for import in imports %} |
#include "{{import.module.path}}.h" |
{%- endfor %} |
+{%- if variant %} |
+#include "{{module.path}}.h" |
+{%- endif %} |
{%- for namespace in namespaces_as_array %} |
namespace {{namespace}} { |