diff options
author | Martin Storsjö <martin@martin.st> | 2024-01-04 23:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 23:18:53 +0200 |
commit | 6af713ae170c34f0561f19e594266ce2a2af343b (patch) | |
tree | eb913d59a5c1e31070d443fea44022b40188c077 | |
parent | 40b4ac278e87e2b98e52094b72728936df3e92d9 (diff) | |
download | llvm-6af713ae170c34f0561f19e594266ce2a2af343b.zip llvm-6af713ae170c34f0561f19e594266ce2a2af343b.tar.gz llvm-6af713ae170c34f0561f19e594266ce2a2af343b.tar.bz2 |
[LLD] [MinGW] Remove an unnecessary include of unistd.h. NFC. (#76953)
This was present since when the MinGW LLD frontend first was merged in
894dbbe8eb0e3d8fc7d8746a76d2380f0c2b6c0f, where it most probably was a
leftover from earlier evolution of the patch.
-rw-r--r-- | lld/MinGW/Driver.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/MinGW/Driver.cpp b/lld/MinGW/Driver.cpp index 94f0ae7..5ba1bf0 100644 --- a/lld/MinGW/Driver.cpp +++ b/lld/MinGW/Driver.cpp @@ -46,10 +46,6 @@ #include "llvm/TargetParser/Triple.h" #include <optional> -#if !defined(_MSC_VER) && !defined(__MINGW32__) -#include <unistd.h> -#endif - using namespace lld; using namespace llvm::opt; using namespace llvm; |