[llvm] fce1156 - [Support][X86] Include sched.h after D78324
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 08:47:29 PDT 2020
Author: Fangrui Song
Date: 2020-04-17T08:46:27-07:00
New Revision: fce115681b71863b20cbfe021345fe2d50377535
URL: https://github.com/llvm/llvm-project/commit/fce115681b71863b20cbfe021345fe2d50377535
DIFF: https://github.com/llvm/llvm-project/commit/fce115681b71863b20cbfe021345fe2d50377535.diff
LOG: [Support][X86] Include sched.h after D78324
http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/28848/steps/build%20stage%201/logs/stdio
Added:
Modified:
llvm/lib/Support/Host.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 43df31d0efea..ae8fd66bac30 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -29,6 +29,7 @@
// Include the platform-specific parts of this class.
#ifdef LLVM_ON_UNIX
#include "Unix/Host.inc"
+#include <sched.h>
#endif
#ifdef _WIN32
#include "Windows/Host.inc"
More information about the llvm-commits
mailing list