[Android] jni: fix implicit declaration warning

Thomas Guillem git at videolan.org
Thu Mar 28 11:52:13 CET 2019


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar 28 11:49:49 2019 +0100| [4574b40a2e684e3f08b0575397a8f588082216ac] | committer: Thomas Guillem

jni: fix implicit declaration warning

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

 libvlc/jni/libvlcjni-mediaplayer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvlc/jni/libvlcjni-mediaplayer.c b/libvlc/jni/libvlcjni-mediaplayer.c
index d91d3cfeb..59a48a080 100644
--- a/libvlc/jni/libvlcjni-mediaplayer.c
+++ b/libvlc/jni/libvlcjni-mediaplayer.c
@@ -21,6 +21,7 @@
  *****************************************************************************/
 
 #include <pthread.h>
+#include <stdlib.h>
 
 #include "libvlcjni-vlcobject.h"
 



More information about the Android mailing list