aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <raphael.kubo.da.costa@intel.com>2018-04-16 11:17:10 +0200
committerCommit Bot <commit-bot@chromium.org>2018-04-17 11:48:13 +0000
commit7ce3091d8a734dde91ebbfccc6b8e84c53a46706 (patch)
tree34ef37c20da05db2c8def4e0e9b9967d699f4477 /audio
parent6dfc8d6ef3b21bce28a501cc6fb6d09754ddf5af (diff)
downloadwebrtc-7ce3091d8a734dde91ebbfccc6b8e84c53a46706.tar.gz
IWYU: Include <string.h> for memcpy(3) after bbf21a3fd.
Commit bbf21a3fd617abb37567a86e65f8ba18b8d64eb2 ("Remove dependencies on modules:module_api from AudioProcessing") causes the build to fail with libstdc++ due to several files using memcpy(3) or memset(3) while relying on string.h being included implicitly by other headers. Bug: webrtc:9139 Change-Id: Ib73284962f8694d8bed0551968265bfd13cab967 Reviewed-on: https://webrtc-review.googlesource.com/70180 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#22895}
Diffstat (limited to 'audio')
-rw-r--r--audio/utility/audio_frame_operations.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/utility/audio_frame_operations.cc b/audio/utility/audio_frame_operations.cc
index a53629ae6f..ed7b7a8b8c 100644
--- a/audio/utility/audio_frame_operations.cc
+++ b/audio/utility/audio_frame_operations.cc
@@ -10,6 +10,7 @@
#include "audio/utility/audio_frame_operations.h"
+#include <string.h>
#include <algorithm>
#include "rtc_base/checks.h"