diff options
author | Reid Kleckner <rnk@google.com> | 2017-12-21 21:48:55 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-12-21 21:48:55 +0000 |
commit | 73b3adc3842f4e748b6b5f19743a95b246db2699 (patch) | |
tree | 7277329f96c99f3c65297edc3415664828a30848 /lib | |
parent | beb22912bbcd54decea94debe2892bf3489c33ce (diff) |
Include process.h for getpid on Windows in instr profiling
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@321313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profile/InstrProfilingUtil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/profile/InstrProfilingUtil.c b/lib/profile/InstrProfilingUtil.c index 110562383..7f49d0f9f 100644 --- a/lib/profile/InstrProfilingUtil.c +++ b/lib/profile/InstrProfilingUtil.c @@ -9,6 +9,7 @@ #ifdef _WIN32 #include <direct.h> +#include <process.h> #include <windows.h> #include "WindowsMMap.h" #else |