From f372d95a6b71f144b4c80a1796510ba91bf56a78 Mon Sep 17 00:00:00 2001 From: Sabeel Ansari Date: Mon, 24 Feb 2025 12:32:13 -0800 Subject: [PATCH 1/2] Add missing header for va_args Signed-off-by: Sabeel Ansari --- clients/p4rt_perf_test/p4rt_perf_util.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/p4rt_perf_test/p4rt_perf_util.cc b/clients/p4rt_perf_test/p4rt_perf_util.cc index a77950d8..ac06bcc8 100644 --- a/clients/p4rt_perf_test/p4rt_perf_util.cc +++ b/clients/p4rt_perf_test/p4rt_perf_util.cc @@ -1,6 +1,7 @@ // Copyright 2023-2024 Intel Corporation // SPDX-License-Identifier: Apache-2.0 +#include #include "p4rt_perf_util.h" std::string EncodeByteValue(int arg_count...) { From dc80521068814584f033c38cd278e56f823cb0bc Mon Sep 17 00:00:00 2001 From: Sabeel Ansari Date: Mon, 24 Feb 2025 12:40:23 -0800 Subject: [PATCH 2/2] Update to fix clang-format error Signed-off-by: Sabeel Ansari --- clients/p4rt_perf_test/p4rt_perf_util.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/p4rt_perf_test/p4rt_perf_util.cc b/clients/p4rt_perf_test/p4rt_perf_util.cc index ac06bcc8..70bd0089 100644 --- a/clients/p4rt_perf_test/p4rt_perf_util.cc +++ b/clients/p4rt_perf_test/p4rt_perf_util.cc @@ -1,9 +1,10 @@ // Copyright 2023-2024 Intel Corporation // SPDX-License-Identifier: Apache-2.0 -#include #include "p4rt_perf_util.h" +#include + std::string EncodeByteValue(int arg_count...) { std::string byte_value; va_list args;