commit 7e26d3b0d5bced6c8217ef09710ec2f969001241
Author: Dhananjay Uddhavrao Jadhav <jadhavdhananjay570@gmail.com>
Date: Sun Oct 11 09:31:46 2026 +0530
examples : fixes example #4106 issue (#4107)
Co-authored-by: Dhananjay <jadhavdhananjay570@gamil.com>
diff --git a/examples/bench/bench.cpp b/examples/bench/bench.cpp
index 84915c56..d552c2b0 100644
--- a/examples/bench/bench.cpp
+++ b/examples/bench/bench.cpp
@@ -1,6 +1,7 @@
#include "whisper.h"
#include <cstdio>
+#include <cstdlib>
#include <cstring>
#include <string>
#include <thread>
diff --git a/examples/common.cpp b/examples/common.cpp
index 1ff8b43a..05882153 100644
--- a/examples/common.cpp
+++ b/examples/common.cpp
@@ -2,6 +2,7 @@
#include "common.h"
+#include <algorithm>
#include <cmath>
#include <codecvt>
#include <cstring>
diff --git a/examples/deprecation-warning/deprecation-warning.cpp b/examples/deprecation-warning/deprecation-warning.cpp
index 9cac82fb..75a05dc5 100644
--- a/examples/deprecation-warning/deprecation-warning.cpp
+++ b/examples/deprecation-warning/deprecation-warning.cpp
@@ -1,6 +1,7 @@
// Warns users that this filename was deprecated, and provides a link for more information.
#include <cstdio>
+#include <cstdlib>
#include <string>
// Main