mediapipe/third_party/com_google_audio_tools_fixes.diff
Sebastian Schmidt e5f28bc136 Make AudioTools compile when build from python:framework_bindings
PiperOrigin-RevId: 523158401
2023-04-10 11:00:15 -07:00

24 lines
551 B
Diff

diff --git a/audio/dsp/number_util.cc b/audio/dsp/number_util.cc
index 756e1f8..6a0c6d6 100644
--- a/audio/dsp/number_util.cc
+++ b/audio/dsp/number_util.cc
@@ -16,6 +16,7 @@
#include "audio/dsp/number_util.h"
+#include <algorithm>
#include <cmath>
#include <iomanip>
#include <limits>
diff --git a/audio/dsp/porting.cc b/audio/dsp/porting.cc
index e906d2d..753c286 100644
--- a/audio/dsp/porting.cc
+++ b/audio/dsp/porting.cc
@@ -16,6 +16,7 @@
#include "audio/dsp/porting.h"
+#include <algorithm>
#include <cfloat>
#include <cstdarg>