summaryrefslogtreecommitdiff
path: root/lldb/source/Host/posix/FileSystem.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2018-05-29 09:14:40 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2018-05-29 09:14:40 +0000
commit6e82c4d6cc576af4397c60fdb1e41325ecf8ffbb (patch)
treebf8e982e5cd78514caf3f9770d6a56550be8d17e /lldb/source/Host/posix/FileSystem.cpp
parent4ebdee0a59e900e96b5bc177247213b5e33bb058 (diff)
Remove Linux-specific includes for posix/FileSystem.cpp
Summary: This improves the process of cross-compiling from macOS to Linux since these files aren't used / needed at all. Reviewers: clayborg, labath Subscribers: lldb-commits, krytarowski Differential Revision: https://reviews.llvm.org/D47420 llvm-svn: 333400
Diffstat (limited to 'lldb/source/Host/posix/FileSystem.cpp')
-rw-r--r--lldb/source/Host/posix/FileSystem.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Host/posix/FileSystem.cpp b/lldb/source/Host/posix/FileSystem.cpp
index 3ece0677f991..df4884e55ecc 100644
--- a/lldb/source/Host/posix/FileSystem.cpp
+++ b/lldb/source/Host/posix/FileSystem.cpp
@@ -16,11 +16,6 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#ifdef __linux__
-#include <linux/magic.h>
-#include <sys/mount.h>
-#include <sys/statfs.h>
-#endif
#if defined(__NetBSD__)
#include <sys/statvfs.h>
#endif