summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingUtil.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-12-21 21:48:55 +0000
committerReid Kleckner <rnk@google.com>2017-12-21 21:48:55 +0000
commit73b3adc3842f4e748b6b5f19743a95b246db2699 (patch)
tree7277329f96c99f3c65297edc3415664828a30848 /lib/profile/InstrProfilingUtil.c
parentbeb22912bbcd54decea94debe2892bf3489c33ce (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/profile/InstrProfilingUtil.c')
-rw-r--r--lib/profile/InstrProfilingUtil.c1
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