summaryrefslogtreecommitdiff
path: root/sci-libs/tensorflow/files/tensorflow-2.14.1-0014-Fixing-build-issue-with-Clang-16.patch
blob: 379aa7385df117df0060ba2c56f45ffb4a2bf16a (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
From 9db05c2eb25372b3be4badb15aa67d19298aeaf4 Mon Sep 17 00:00:00 2001
From: Ben Olson <matthew.olson@intel.com>
Date: Tue, 8 Aug 2023 17:15:50 -0500
Subject: [PATCH 14/14] Fixing build issue with Clang 16

---
 tensorflow/tsl/lib/io/cache.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tensorflow/tsl/lib/io/cache.h b/tensorflow/tsl/lib/io/cache.h
index f894c5916d5..e49d09b7450 100644
--- a/tensorflow/tsl/lib/io/cache.h
+++ b/tensorflow/tsl/lib/io/cache.h
@@ -16,6 +16,8 @@ limitations under the License.
 #ifndef TENSORFLOW_TSL_LIB_IO_CACHE_H_
 #define TENSORFLOW_TSL_LIB_IO_CACHE_H_
 
+#include <cstdint>
+
 #include "tensorflow/tsl/platform/stringpiece.h"
 
 // A Cache is an interface that maps keys to values.  It has internal
-- 
2.43.0