Add include for cpuid.

This commit is contained in:
Bartosz Taudul 2022-08-18 13:40:37 +02:00
parent 1d60c0cd5b
commit 940f32c1a8
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -608,6 +608,10 @@ void SysTraceGetExternalName( uint64_t thread, const char*& threadName, const ch
# include <sys/ioctl.h> # include <sys/ioctl.h>
# include <sys/syscall.h> # include <sys/syscall.h>
# if defined __i386 || defined __x86_64__
# include <cpuid.h>
# endif
# include "TracyProfiler.hpp" # include "TracyProfiler.hpp"
# include "TracyRingBuffer.hpp" # include "TracyRingBuffer.hpp"
# include "TracyThread.hpp" # include "TracyThread.hpp"