diff options
author | Alexander Polcyn <apolcyn@google.com> | 2018-02-21 16:59:24 -0800 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-02-23 09:59:53 -0800 |
commit | db3e898a981ea0ae49823415efab78edd09a90ab (patch) | |
tree | cbb1e9c83bdabc999c7e17dadf7fa8679c041012 /templates/src | |
parent | a90d718cb89414bfe5f6cfaa69a1b3716ed55d5f (diff) |
Add a sanity check for inclusion of port_platform.h
Diffstat (limited to 'templates/src')
-rw-r--r-- | templates/src/core/lib/surface/version.cc.template | 2 | ||||
-rw-r--r-- | templates/src/core/plugin_registry.template | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/src/core/lib/surface/version.cc.template b/templates/src/core/lib/surface/version.cc.template index d9fa4479db..0cb3154725 100644 --- a/templates/src/core/lib/surface/version.cc.template +++ b/templates/src/core/lib/surface/version.cc.template @@ -21,6 +21,8 @@ /* This file is autogenerated from: templates/src/core/surface/version.c.template */ + #include <grpc/support/port_platform.h> + #include <grpc/grpc.h> const char* grpc_version_string(void) { return "${settings.core_version}"; } diff --git a/templates/src/core/plugin_registry.template b/templates/src/core/plugin_registry.template index 805ae9049f..a00d204a46 100644 --- a/templates/src/core/plugin_registry.template +++ b/templates/src/core/plugin_registry.template @@ -22,6 +22,8 @@ template: | * */ + #include <grpc/support/port_platform.h> + #include <grpc/grpc.h> %for plugin in selected.plugins: |