From 74cdf7874d9e024f0b2c302b6cea37e32f6ba30a Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Fri, 23 Nov 2018 22:20:41 +0100 Subject: [PATCH] add cstring include need for strncmp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Propose resolution of Issue 10011 : (GCC) build fails desktop_capturer.cc:66:66: error: ‘strncmp’ was not declared in this scope Bug: webrtc:10011 Change-Id: I4afdfd96f8bbc8e39380a365138ab79e237568e3 Reviewed-on: https://webrtc-review.googlesource.com/c/111885 Commit-Queue: Brave Yao Reviewed-by: Brave Yao Cr-Commit-Position: refs/heads/master@{#25790} --- AUTHORS | 1 + modules/desktop_capture/desktop_capturer.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index 16ae916a4c..1216b48d95 100644 --- a/AUTHORS +++ b/AUTHORS @@ -76,6 +76,7 @@ Piasy Xu Tomas Popela Jan Grulich Eike Rathke +Michel Promonet &yet LLC <*@andyet.com> Agora IO <*@agora.io> diff --git a/modules/desktop_capture/desktop_capturer.cc b/modules/desktop_capture/desktop_capturer.cc index d43d571a86..190f61e817 100644 --- a/modules/desktop_capture/desktop_capturer.cc +++ b/modules/desktop_capture/desktop_capturer.cc @@ -8,6 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include + #include "modules/desktop_capture/desktop_capturer.h" #include "modules/desktop_capture/desktop_capture_options.h"