diff --git a/WORKSPACE b/WORKSPACE index 199b6a000..7c7c5055a 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -212,6 +212,9 @@ http_archive( urls = ["https://github.com/google/multichannel-audio-tools/archive/1f6b1319f13282eda6ff1317be13de67f4723860.zip"], sha256 = "fe346e1aee4f5069c4cbccb88706a9a2b2b4cf98aeb91ec1319be77e07dd7435", repo_mapping = {"@com_github_glog_glog" : "@com_github_glog_glog_no_gflags"}, + # TODO: Fix this in AudioTools directly + patches = ["@//third_party:com_google_audio_tools_fixes.diff"], + patch_args = ["-p1"] ) http_archive( diff --git a/third_party/com_google_audio_tools_fixes.diff b/third_party/com_google_audio_tools_fixes.diff new file mode 100644 index 000000000..290dd7a96 --- /dev/null +++ b/third_party/com_google_audio_tools_fixes.diff @@ -0,0 +1,24 @@ +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 + #include + #include + #include +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 + #include + #include + \ No newline at end of file