From aa00b945ba05889e6d23752ab726d05ca6da54a5 Mon Sep 17 00:00:00 2001 From: MrSMIT Date: Wed, 12 Feb 2025 14:33:15 +0000 Subject: [PATCH] Fix: Compile failure due to Microsoft STL breaking change --- common/log.cpp | 1 + examples/imatrix/imatrix.cpp | 1 + examples/perplexity/perplexity.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/common/log.cpp b/common/log.cpp index 4bfbecf15e314..52b31470c46bd 100644 --- a/common/log.cpp +++ b/common/log.cpp @@ -1,5 +1,6 @@ #include "log.h" +#include #include #include #include diff --git a/examples/imatrix/imatrix.cpp b/examples/imatrix/imatrix.cpp index b5f3feb9f82e6..395e2aa47c301 100644 --- a/examples/imatrix/imatrix.cpp +++ b/examples/imatrix/imatrix.cpp @@ -3,6 +3,7 @@ #include "log.h" #include "llama.h" +#include #include #include #include diff --git a/examples/perplexity/perplexity.cpp b/examples/perplexity/perplexity.cpp index 9bf6c57433ab2..5d07421e827d1 100644 --- a/examples/perplexity/perplexity.cpp +++ b/examples/perplexity/perplexity.cpp @@ -3,6 +3,7 @@ #include "log.h" #include "llama.h" +#include #include #include #include