From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring
---
kernel/tools/perf/util/c++/clang-test.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/kernel/tools/perf/util/c++/clang-test.cpp b/kernel/tools/perf/util/c++/clang-test.cpp
index 7b042a5..21b2360 100644
--- a/kernel/tools/perf/util/c++/clang-test.cpp
+++ b/kernel/tools/perf/util/c++/clang-test.cpp
@@ -1,10 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
#include "clang.h"
#include "clang-c.h"
+extern "C" {
+#include "../util.h"
+}
#include "llvm/IR/Function.h"
#include "llvm/IR/LLVMContext.h"
-#include <util-cxx.h>
#include <tests/llvm.h>
#include <string>
--
Gitblit v1.6.2