Include process.h for getpid on Windows in instr profiling
authorReid Kleckner <rnk@google.com>
Thu, 21 Dec 2017 21:48:55 +0000 (21:48 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 21 Dec 2017 21:48:55 +0000 (21:48 +0000)
llvm-svn: 321313

compiler-rt/lib/profile/InstrProfilingUtil.c

index 1105623..7f49d0f 100644 (file)
@@ -9,6 +9,7 @@
 
 #ifdef _WIN32
 #include <direct.h>
+#include <process.h>
 #include <windows.h>
 #include "WindowsMMap.h"
 #else