Index: mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl |
index a3be5a4e2208696846edaa6dd304c4aa80ccbdce..c59c9f75db9e1792a57606381f339581b59e6b4f 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl |
@@ -17,9 +17,13 @@ |
#include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
#include "mojo/public/cpp/bindings/lib/buffer.h" |
+#include "mojo/public/cpp/bindings/lib/native_serialization.h" |
#include "mojo/public/cpp/bindings/lib/union_accessor.h" |
#include "mojo/public/cpp/bindings/lib/value_traits.h" |
#include "mojo/public/cpp/bindings/struct_ptr.h" |
+{%- for header in extra_headers %} |
+#include "{{header}}" |
+{%- endfor %} |
{%- for import in imports %} |
#include "{{import.module.path}}-internal.h" |