From 373e41668b265864f8976b83bb66dd6e9a583915 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Mon, 13 Sep 2021 17:32:51 -0700 Subject: [PATCH] Linux uses its own alloca.h, all others use original UNIX stdlib.h. --- webrtc_dsp/rtc_base/stringutils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webrtc_dsp/rtc_base/stringutils.h b/webrtc_dsp/rtc_base/stringutils.h index 702bc67b..23397c4e 100755 --- a/webrtc_dsp/rtc_base/stringutils.h +++ b/webrtc_dsp/rtc_base/stringutils.h @@ -25,11 +25,11 @@ #endif // WEBRTC_WIN #if defined(WEBRTC_POSIX) -#ifdef BSD -#include -#else // BSD +#ifdef __linux__ #include -#endif // !BSD +#else // *BSD, Illumos, Darwin +#include +#endif #include #endif // WEBRTC_POSIX