[Android] Include libvlc_version.h

Geoffrey Métais git at videolan.org
Fri Jul 20 09:53:04 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jul 20 09:52:45 2018 +0200| [7c4d5ddda3d04a0ff95fabe3d402c14c74203667] | committer: Geoffrey Métais

Include libvlc_version.h

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

 libvlc/jni/Android.mk            | 2 +-
 libvlc/jni/libvlcjni-vlcobject.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libvlc/jni/Android.mk b/libvlc/jni/Android.mk
index fc9f20daa..e333ee631 100644
--- a/libvlc/jni/Android.mk
+++ b/libvlc/jni/Android.mk
@@ -12,7 +12,7 @@ LOCAL_SRC_FILES += libvlcjni-dialog.c
 LOCAL_SRC_FILES += thumbnailer.c
 LOCAL_SRC_FILES += std_logger.c
 LOCAL_SRC_FILES += dummy.cpp
-LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/include $(MEDIALIBRARY_JNI_DIR) $(LOCAL_PATH)/loader
+LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/include $(VLC_BUILD_DIR)/include $(MEDIALIBRARY_JNI_DIR) $(LOCAL_PATH)/loader
 
 LOCAL_CFLAGS := -std=c11
 include $(BUILD_STATIC_LIBRARY)
diff --git a/libvlc/jni/libvlcjni-vlcobject.h b/libvlc/jni/libvlcjni-vlcobject.h
index e43debac5..431110e75 100644
--- a/libvlc/jni/libvlcjni-vlcobject.h
+++ b/libvlc/jni/libvlcjni-vlcobject.h
@@ -28,6 +28,7 @@
 #include <vlc/libvlc_media_list.h>
 #include <vlc/libvlc_media_discoverer.h>
 #include <vlc/libvlc_renderer_discoverer.h>
+#include <vlc/libvlc_version.h>
 
 #include "utils.h"
 #define LOG_TAG "VLC/JNI/VLCObject"



More information about the Android mailing list