From a0d4ea7c3041ef5463c845a79050e92d97bd6963 Mon Sep 17 00:00:00 2001 From: Bright Chen Date: Mon, 25 Dec 2023 22:16:09 +0800 Subject: [PATCH] Fix json2pb compile error of examples --- example/asynchronous_echo_c++/server.cpp | 1 + example/http_c++/http_server.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/example/asynchronous_echo_c++/server.cpp b/example/asynchronous_echo_c++/server.cpp index 8c7ced67cb..7aad241f6a 100644 --- a/example/asynchronous_echo_c++/server.cpp +++ b/example/asynchronous_echo_c++/server.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "echo.pb.h" DEFINE_bool(send_attachment, true, "Carry attachment along with response"); diff --git a/example/http_c++/http_server.cpp b/example/http_c++/http_server.cpp index 202f55d162..3a806c43ea 100644 --- a/example/http_c++/http_server.cpp +++ b/example/http_c++/http_server.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include "http.pb.h" DEFINE_int32(port, 8010, "TCP Port of this server");