summaryrefslogtreecommitdiff
blob: cfc941f282442f1a20cdb3e8441b65391ff4524c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 71991f24ef75b7da678d8de8d593bf82677d2708 Mon Sep 17 00:00:00 2001
From: Yuri Konotopov <ykonotopov@gnome.org>
Date: Mon, 9 Jan 2017 18:37:44 +0400
Subject: [PATCH] x86emitter: gcc 5 compilation fix

---
 common/src/x86emitter/cpudetect.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
index 717ca89..cf94d7f 100644
--- a/common/src/x86emitter/cpudetect.cpp
+++ b/common/src/x86emitter/cpudetect.cpp
@@ -16,6 +16,9 @@
 #include "PrecompiledHeader.h"
 #include "cpudetect_internal.h"
 #include "internal.h"
+#if defined(__GNUC__)
+#include "x86intrin.h"
+#endif
 
 using namespace x86Emitter;
 
-- 
2.10.2