summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-10 05:26:27 +0200
committerJan Beich <jbeich@FreeBSD.org>2016-10-28 01:28:30 +0200
commit3d801be97d82b69ff800f939dd92d97ff012a868 (patch)
tree963b7bb82fda6f1d1b7f5d84c54d44bb797827a6 /src/common
parentcommon: convert to standard stat()/fstat() interfaces (diff)
downloadyuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar.gz
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar.bz2
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar.lz
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar.xz
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.tar.zst
yuzu-3d801be97d82b69ff800f939dd92d97ff012a868.zip
Diffstat (limited to '')
-rw-r--r--src/common/x64/cpu_detect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp
index 6ddf9b70c..4abbdb96a 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
#endif
static inline void __cpuidex(int info[4], int function_id, int subfunction_id) {