diff options
Diffstat (limited to 'examples/cpp/helloworld/greeter_client.cc')
-rw-r--r-- | examples/cpp/helloworld/greeter_client.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/cpp/helloworld/greeter_client.cc b/examples/cpp/helloworld/greeter_client.cc index 61f3953056..8ee33b1383 100644 --- a/examples/cpp/helloworld/greeter_client.cc +++ b/examples/cpp/helloworld/greeter_client.cc @@ -37,7 +37,11 @@ #include <grpc++/grpc++.h> +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else #include "helloworld.grpc.pb.h" +#endif using grpc::Channel; using grpc::ClientContext; |