-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix compilation issue with gcc13 on cpu (#69785)
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/brpc/http2.h b/src/brpc/http2.h | ||
index 9a40d40d..5da47e60 100644 | ||
--- a/src/brpc/http2.h | ||
+++ b/src/brpc/http2.h | ||
@@ -19,6 +19,7 @@ | ||
#define BAIDU_RPC_HTTP2_H | ||
|
||
#include "brpc/http_status_code.h" | ||
+#include <cstdint> | ||
|
||
// To baidu-rpc developers: This is a header included by user, don't depend | ||
// on internal structures, use opaque pointers instead. |