From 0518adca98c2ea2cdd6a0099978e8d3a838c841a Mon Sep 17 00:00:00 2001 From: Ram Kumar Date: Wed, 21 Jun 2017 10:13:24 +0200 Subject: [PATCH] issue #2975 - fix for flac extension build failing with "use of undeclared identifier - memset" - include strings.h for memeset. - tested with flac-1.3.1 --- extensions/flac/src/main/jni/flac_parser.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/flac/src/main/jni/flac_parser.cc b/extensions/flac/src/main/jni/flac_parser.cc index e4925cb462f..7f00c776d07 100644 --- a/extensions/flac/src/main/jni/flac_parser.cc +++ b/extensions/flac/src/main/jni/flac_parser.cc @@ -23,6 +23,8 @@ #include #include +#include /* for memset() */ + #define LOG_TAG "FLACParser" #define ALOGE(...) \ ((void)__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__))