build: gcc 14: add missing includes

This commit is contained in:
mazes-80 2025-11-22 15:26:25 +01:00
parent 1382ee0381
commit 84ce396afb
5 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,3 @@
#ifdef __GNUC__
#define ATTRIBUTE_AVX2 __attribute__((target("avx2")))
#define ATTRIBUTE_SSE41 __attribute__((target("sse4.1")))
@ -9,6 +8,8 @@
#define ATTRIBUTE_AESNI
#endif
#include <string>
class CPUFeaturesImpl
{
public:
@ -33,4 +34,4 @@ private:
char m_cpuBrandName[0x40]{ 0 };
};
extern CPUFeaturesImpl g_CPUFeatures;
extern CPUFeaturesImpl g_CPUFeatures;