Skip to content

Commit 6af713a

Browse files
authored
[LLD] [MinGW] Remove an unnecessary include of unistd.h. NFC. (#76953)
This was present since when the MinGW LLD frontend first was merged in 894dbbe, where it most probably was a leftover from earlier evolution of the patch.
1 parent 40b4ac2 commit 6af713a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lld/MinGW/Driver.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
#include "llvm/TargetParser/Triple.h"
4747
#include <optional>
4848

49-
#if !defined(_MSC_VER) && !defined(__MINGW32__)
50-
#include <unistd.h>
51-
#endif
52-
5349
using namespace lld;
5450
using namespace llvm::opt;
5551
using namespace llvm;

0 commit comments

Comments
 (0)