summaryrefslogtreecommitdiff
path: root/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8173-fix-missing-limits.patch
blob: 406262d2d914a6e10e1891ea3cfb759fc1cf1bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Fix compilation with >=gcc-11, taken from upstream:
https://github.com/intel/intel-graphics-compiler/pull/190

From 8e1a461d3e6b85a6cf018caf6abf4a3ba9a1758d Mon Sep 17 00:00:00 2001
From: Bruno Pagani <bruno.n.pagani@gmail.com>
Date: Wed, 4 Aug 2021 20:54:21 +0200
Subject: [PATCH] Fix missing include

---
 visa/iga/IGALibrary/IR/RegDeps.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/visa/iga/IGALibrary/IR/RegDeps.cpp b/visa/iga/IGALibrary/IR/RegDeps.cpp
index 83c226a316..585896631e 100644
--- a/visa/iga/IGALibrary/IR/RegDeps.cpp
+++ b/visa/iga/IGALibrary/IR/RegDeps.cpp
@@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT
 #include "../asserts.hpp"
 #include "../bits.hpp"
 
+#include <limits>
 #include <sstream>
 #include <cstring>