[Android] medialibrary: include headers for std::remove_if

Zhao Zhili git at videolan.org
Wed Aug 1 13:51:41 CEST 2018


vlc-android | branch: master | Zhao Zhili <zhaozhili at qiyi.com> | Wed Aug  1 11:52:33 2018 +0800| [dadcabebc8add8f83d07870c5e789f39d778fd66] | committer: Geoffrey Métais

medialibrary: include headers for std::remove_if

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

> https://code.videolan.org/videolan/vlc-android/commit/dadcabebc8add8f83d07870c5e789f39d778fd66
---

 medialibrary/jni/medialibrary.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/medialibrary/jni/medialibrary.cpp b/medialibrary/jni/medialibrary.cpp
index 3f80a0d44..450d57602 100644
--- a/medialibrary/jni/medialibrary.cpp
+++ b/medialibrary/jni/medialibrary.cpp
@@ -1,5 +1,8 @@
 #include <stdlib.h>
+
+#include <algorithm>
 #include <string>
+
 #include "jniloader.h"
 #include <medialibrary/IDeviceLister.h>
 #define LOG_TAG "VLC/JNI/MediaLibrary"



More information about the Android mailing list