[Lldb-commits] [lldb] [lldb] Add missing includes to some tests (PR #201804)
Nikolas Klauser via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 5 03:50:23 PDT 2026
https://github.com/philnik777 updated https://github.com/llvm/llvm-project/pull/201804
>From 6656071ccd13eca38a91a63f17600833b03512b7 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Fri, 5 Jun 2026 12:42:13 +0200
Subject: [PATCH] [lldb] Add missing include to breakpoint/main.cpp
---
lldb/test/API/iohandler/sigint/cat.cpp | 1 +
lldb/test/API/tools/lldb-dap/breakpoint/main.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/lldb/test/API/iohandler/sigint/cat.cpp b/lldb/test/API/iohandler/sigint/cat.cpp
index 7e12cf7df7e58..368f5db75224c 100644
--- a/lldb/test/API/iohandler/sigint/cat.cpp
+++ b/lldb/test/API/iohandler/sigint/cat.cpp
@@ -1,3 +1,4 @@
+#include <cerrno>
#include <cstdio>
#include <string>
#include <unistd.h>
diff --git a/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp b/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp
index 2206b07f19494..9788223d9d9b1 100644
--- a/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp
+++ b/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp
@@ -1,6 +1,7 @@
#include <dlfcn.h>
#include <stdexcept>
#include <stdio.h>
+#include <stdlib.h>
int twelve(int i) {
return 12 + i; // break 12
More information about the lldb-commits
mailing list