VERY experimental Nintendo Switch 2 emulator
C++
common: some FreeBSD headers are incomplete to avoid namespace pollution
Jan Beich8e5d3f77fb32
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cppindex 6ddf9b70ca..4abbdb96a9 100644--- a/src/common/x64/cpu_detect.cpp+++ b/src/common/x64/cpu_detect.cpp@@ -13,8 +13,10 @@ namespace Common {#ifndef _MSC_VER#ifdef __FreeBSD__-#include <machine/cpufunc.h>+// clang-format off#include <sys/types.h>+#include <machine/cpufunc.h>+// clang-format on#endifstatic inline void __cpuidex(int info[4], int function_id, int subfunction_id) {