Skip to content

Commit 3bf3c88

Browse files
authored
chore: workaround for the vagaries of protobuf includes (#6444)
Add an inclusion for `duration.pb.h` to an innocuous place. This satisfies a forward declaration in a variety of the gRPC protobufs for a downstream client.
1 parent fe5ef2b commit 3bf3c88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/internal/time_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#include "google/cloud/version.h"
1919
#include "absl/time/time.h"
20+
#include <google/protobuf/duration.pb.h>
2021
#include <google/protobuf/timestamp.pb.h>
2122
#include <chrono>
2223

0 commit comments

Comments
 (0)