summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2018-03-05 18:01:47 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2018-03-05 18:01:47 +0000
commit75bc70fb56eb710ee90002b043d982abcf8c043e (patch)
tree36a581019cddb33b8b7af339a5ddb268d82a4b9c
parent1fe3ee18b407c41d782db0af61bf726525d21d04 (diff)
downloadbcm5719-llvm-75bc70fb56eb710ee90002b043d982abcf8c043e.tar.gz
bcm5719-llvm-75bc70fb56eb710ee90002b043d982abcf8c043e.zip
Fixed build of the OpenMP stubs library.
Differential Revision: https://reviews.llvm.org/D44019 llvm-svn: 326728
-rw-r--r--openmp/runtime/src/kmp_stub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_stub.cpp b/openmp/runtime/src/kmp_stub.cpp
index d487a3d2377..4051d9e91db 100644
--- a/openmp/runtime/src/kmp_stub.cpp
+++ b/openmp/runtime/src/kmp_stub.cpp
@@ -15,9 +15,9 @@
#include <limits.h>
#include <stdlib.h>
+#include "omp.h" // omp_* declarations, must be included before "kmp.h"
#include "kmp.h" // KMP_DEFAULT_STKSIZE
#include "kmp_stub.h"
-#include "omp.h" // Function renamings.
#if KMP_OS_WINDOWS
#include <windows.h>
OpenPOWER on IntegriCloud