summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-11 19:11:54 +0000
committerMartin Storsjo <martin@martin.st>2018-09-11 19:11:54 +0000
commitcd1fe50e553bb02a3a33abf01babaecfa4f1319c (patch)
tree8be3aa7201d634bf713cb797154677ea43617652 /lib
parent7da037031808abaad3e9e73edb326a5ae8d22068 (diff)
downloadcompiler-rt-cd1fe50e553bb02a3a33abf01babaecfa4f1319c.tar.gz
[libFuzzer] [Windows] Include windows.h and psapi.h with lowercase
This fixes building on a case sensitive filesystem with mingw-w64 headers, where all headers are lowercase, and matches how these headers are included elsewhere in compiler-rt. Also include these headers with angle brackets, as they are system headers. Differential Revision: https://reviews.llvm.org/D51913 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@341983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp4
-rw-r--r--lib/fuzzer/FuzzerUtilWindows.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp b/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
index 321b3ec5d..e09da3fde 100644
--- a/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
+++ b/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
@@ -13,10 +13,10 @@
#include "FuzzerExtFunctions.h"
#include "FuzzerIO.h"
-#include "Windows.h"
+#include <windows.h>
// This must be included after Windows.h.
-#include "Psapi.h"
+#include <psapi.h>
namespace fuzzer {
diff --git a/lib/fuzzer/FuzzerUtilWindows.cpp b/lib/fuzzer/FuzzerUtilWindows.cpp
index 257723b60..393b4768b 100644
--- a/lib/fuzzer/FuzzerUtilWindows.cpp
+++ b/lib/fuzzer/FuzzerUtilWindows.cpp
@@ -24,7 +24,7 @@
#include <windows.h>
// This must be included after windows.h.
-#include <Psapi.h>
+#include <psapi.h>
namespace fuzzer {