brucem created this revision. brucem added a reviewer: clayborg. Herald added a subscriber: krytarowski.
This improves the process of cross-compiling from macOS to Linux since these files aren't used / needed at all. https://reviews.llvm.org/D47420 Files: source/Host/posix/FileSystem.cpp Index: source/Host/posix/FileSystem.cpp =================================================================== --- source/Host/posix/FileSystem.cpp +++ 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
Index: source/Host/posix/FileSystem.cpp =================================================================== --- source/Host/posix/FileSystem.cpp +++ 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
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits