From 4ecd9bd03b8b0e2ceba5c6c8525227be8d8ab215 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Tue, 7 Jan 2025 11:23:17 +0000 Subject: [PATCH] [lldb][Posix] Remove unused includes in file system (#121913) You could remove unistd.h and it will still build, but only because something else included it. So I've left it in in the spirit of "include what you use". Tested on Linux and FreeBSD. --- lldb/source/Host/posix/FileSystemPosix.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lldb/source/Host/posix/FileSystemPosix.cpp b/lldb/source/Host/posix/FileSystemPosix.cpp index 945e2affc83715..d2e5b52917ac26 100644 --- a/lldb/source/Host/posix/FileSystemPosix.cpp +++ b/lldb/source/Host/posix/FileSystemPosix.cpp @@ -9,12 +9,7 @@ #include "lldb/Host/FileSystem.h" // C includes -#include #include -#include -#include -#include -#include #include #if defined(__NetBSD__) #include