[compiler-rt] r321313 - Include process.h for getpid on Windows in instr profiling
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 13:48:56 PST 2017
Author: rnk
Date: Thu Dec 21 13:48:55 2017
New Revision: 321313
URL: http://llvm.org/viewvc/llvm-project?rev=321313&view=rev
Log:
Include process.h for getpid on Windows in instr profiling
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingUtil.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingUtil.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingUtil.c?rev=321313&r1=321312&r2=321313&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingUtil.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingUtil.c Thu Dec 21 13:48:55 2017
@@ -9,6 +9,7 @@
#ifdef _WIN32
#include <direct.h>
+#include <process.h>
#include <windows.h>
#include "WindowsMMap.h"
#else
More information about the llvm-commits
mailing list