Skip to content

Commit cd7391f

Browse files
committed
add grpc port includes to grpc stub files
1 parent a786a48 commit cd7391f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

google/cloud/storage/internal/grpc/stub.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
#include <cinttypes>
4242
#include <utility>
4343

44+
#include <grpcpp/ports_def.inc>
45+
4446
namespace google {
4547
namespace cloud {
4648
namespace storage_internal {
@@ -1205,3 +1207,4 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
12051207
} // namespace storage_internal
12061208
} // namespace cloud
12071209
} // namespace google
1210+
#include <grpcpp/ports_undef.inc>

google/cloud/storage/internal/grpc/stub.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#include <string>
2727
#include <vector>
2828

29+
#include <grpcpp/ports_def.inc>
30+
2931
namespace google {
3032
namespace cloud {
3133
namespace storage_internal {
@@ -297,4 +299,6 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
297299
} // namespace cloud
298300
} // namespace google
299301

302+
#include <grpcpp/ports_undef.inc>
303+
300304
#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_INTERNAL_GRPC_STUB_H

0 commit comments

Comments
 (0)