Skip to content

Commit 4ecd9bd

Browse files
[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.
1 parent 1fb98b5 commit 4ecd9bd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lldb/source/Host/posix/FileSystemPosix.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@
99
#include "lldb/Host/FileSystem.h"
1010

1111
// C includes
12-
#include <dirent.h>
1312
#include <fcntl.h>
14-
#include <sys/mount.h>
15-
#include <sys/param.h>
16-
#include <sys/stat.h>
17-
#include <sys/types.h>
1813
#include <unistd.h>
1914
#if defined(__NetBSD__)
2015
#include <sys/statvfs.h>

0 commit comments

Comments
 (0)