From 9081d1ccadb7fcd3e2dd01106e85003af2fb7975 Mon Sep 17 00:00:00 2001 From: wangjiezhe Date: Sun, 21 Jan 2024 00:26:21 +0800 Subject: [PATCH 13/13] Fixing build issue with Clang 16 and GCC 13 --- tensorflow/lite/kernels/internal/spectrogram.cc | 2 ++ tensorflow/tsl/lib/io/cache.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tensorflow/lite/kernels/internal/spectrogram.cc b/tensorflow/lite/kernels/internal/spectrogram.cc index a832962a38d..9b1f86ba717 100644 --- a/tensorflow/lite/kernels/internal/spectrogram.cc +++ b/tensorflow/lite/kernels/internal/spectrogram.cc @@ -18,6 +18,8 @@ limitations under the License. #include #include +#include + #include "third_party/fft2d/fft.h" namespace tflite { 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 + #include "tensorflow/tsl/platform/stringpiece.h" // A Cache is an interface that maps keys to values. It has internal -- 2.43.0