Skip to content

Commit 062d78e

Browse files
authored
[compiler-rt][fuzzer] windows build unbreak proposal. (llvm#83538)
shuffling the order of its includes.
1 parent 990dbf2 commit 062d78e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@
1818
#include <errno.h>
1919
#include <io.h>
2020
#include <iomanip>
21-
#include <libloaderapi.h>
2221
#include <signal.h>
2322
#include <stdio.h>
24-
#include <stringapiset.h>
2523
#include <sys/types.h>
24+
// clang-format off
2625
#include <windows.h>
27-
28-
// This must be included after windows.h.
26+
// These must be included after windows.h.
27+
// archicture need to be set before including
28+
// libloaderapi
29+
#include <libloaderapi.h>
30+
#include <stringapiset.h>
2931
#include <psapi.h>
32+
// clang-format on
3033

3134
namespace fuzzer {
3235

0 commit comments

Comments
 (0)