diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 2fccac80..fa726f3c 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -225,7 +225,7 @@ void SysTraceSendExternalName( uint64_t thread ) } #endif const auto pid = GetProcessIdOfThread( hnd ); - if( !threadSent && NtQueryInformationThread && _EnumProcessModules ) + if( !threadSent && NtQueryInformationThread && _EnumProcessModules && _GetModuleInformation && _GetModuleBaseNameA ) { void* ptr; ULONG retlen;