From a7ba94c0fe0a4c79da051227ac4f8e404d5039d7 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Tue, 30 Jul 2024 09:56:52 +0100 Subject: [PATCH] Add missing import on windows --- pyinstrument/low_level/stat_profile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pyinstrument/low_level/stat_profile.c b/pyinstrument/low_level/stat_profile.c index 1564b21b..b5dd43d1 100644 --- a/pyinstrument/low_level/stat_profile.c +++ b/pyinstrument/low_level/stat_profile.c @@ -30,6 +30,7 @@ These timer functions are mostly stolen from timemodule.c #if defined(MS_WINDOWS) && !defined(__BORLANDC__) #include +#include // for clock() /* use QueryPerformanceCounter on Windows */