summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-06-06 23:28:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-06-06 23:28:01 +0000
commitabd32bad374808ec5fd7ebd1b13f680879790ded (patch)
tree5ec1f7042d2f98e0b569451f7cd7bf513a499c8f /llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp
parentc88f2c712f9a5a34210dd8f3d598274538e1090d (diff)
downloadbcm5719-llvm-abd32bad374808ec5fd7ebd1b13f680879790ded.tar.gz
bcm5719-llvm-abd32bad374808ec5fd7ebd1b13f680879790ded.zip
Fix the includes in lib/Fuzzer on Windows that have ordering
dependencies and add comments to tell future maintainers about those requirements. llvm-svn: 304843
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp b/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp
index f6c7e07cc61..321b3ec5d41 100644
--- a/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp
+++ b/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp
@@ -13,9 +13,11 @@
#include "FuzzerExtFunctions.h"
#include "FuzzerIO.h"
-#include "Psapi.h"
#include "Windows.h"
+// This must be included after Windows.h.
+#include "Psapi.h"
+
namespace fuzzer {
ExternalFunctions::ExternalFunctions() {
OpenPOWER on IntegriCloud