From ef93e24da7251a6eaae7be53553debcd4e1437fd Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Fri, 24 Mar 2023 11:23:59 +0800 Subject: [PATCH] Fix cpp lint (#22955) Signed-off-by: longjiquan --- internal/core/src/common/Tracer.h | 4 ++++ internal/core/src/common/init_c.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/core/src/common/Tracer.h b/internal/core/src/common/Tracer.h index 172f627c05..0acb9287f3 100644 --- a/internal/core/src/common/Tracer.h +++ b/internal/core/src/common/Tracer.h @@ -8,6 +8,10 @@ // Unless required by applicable law or agreed to in writing, software distributed under the License // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express // or implied. See the License for the specific language governing permissions and limitations under the License + +#include +#include + #include "opentelemetry/sdk/version/version.h" #include "opentelemetry/trace/provider.h" diff --git a/internal/core/src/common/init_c.h b/internal/core/src/common/init_c.h index 577985bf41..4ee9373429 100644 --- a/internal/core/src/common/init_c.h +++ b/internal/core/src/common/init_c.h @@ -22,7 +22,7 @@ extern "C" { #include #include -#include "type_c.h" +#include "common/type_c.h" void InitIndexSliceSize(const int64_t);