diff options
author | Hope Casey-Allen <hcaseyal@google.com> | 2018-09-10 22:29:03 -0700 |
---|---|---|
committer | Hope Casey-Allen <hcaseyal@google.com> | 2018-09-10 22:30:26 -0700 |
commit | 4a9cd9c38b18a613f82a19062f15e7f4e8179fc0 (patch) | |
tree | 9315304133fe36f6551aad783bee8bf9bea8db92 /tools | |
parent | fbe594beeb0e065bc357674bd99c3a3161795341 (diff) |
Fix codegen script to include port_platform
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/codegen/core/gen_static_metadata.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/codegen/core/gen_static_metadata.py b/tools/codegen/core/gen_static_metadata.py index 36c76fada9..98e375127e 100755 --- a/tools/codegen/core/gen_static_metadata.py +++ b/tools/codegen/core/gen_static_metadata.py @@ -367,9 +367,13 @@ an explanation of what's going on. print >> H, '#ifndef GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H' print >> H, '#define GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H' print >> H +print >> H, '#include <grpc/impl/codegen/port_platform.h>' +print >> H print >> H, '#include "src/core/lib/transport/metadata.h"' print >> H +print >> C, '#include <grpc/impl/codegen/port_platform.h>' +print >> C print >> C, '#include "src/core/lib/transport/static_metadata.h"' print >> C print >> C, '#include "src/core/lib/slice/slice_internal.h"' |