[Android] Add missing include

Romain Vimont git at videolan.org
Tue May 21 16:37:49 CEST 2019


vlc-android | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon May 20 13:36:18 2019 +0200| [125bae2627915cc3b8b356fc3b28abd149226bbf] | committer: Geoffrey Métais

Add missing include

Include stdlib.h for free().

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

 libvlc/jni/libvlcjni-vlcobject.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvlc/jni/libvlcjni-vlcobject.h b/libvlc/jni/libvlcjni-vlcobject.h
index 0b1ae80c8..fc096841a 100644
--- a/libvlc/jni/libvlcjni-vlcobject.h
+++ b/libvlc/jni/libvlcjni-vlcobject.h
@@ -22,6 +22,7 @@
 #define LIBVLCJNI_VLCOBJECT_H
 
 #include <stdbool.h>
+#include <stdlib.h>
 
 #include <jni.h>
 #include <vlc/vlc.h>



More information about the Android mailing list