Commit 6d439818 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Yum, abusing private headers

parent 41784a3e
...@@ -174,8 +174,7 @@ libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc ...@@ -174,8 +174,7 @@ libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
libvlc_la_SOURCES = $(SOURCES_libvlc_control) libvlc_la_SOURCES = $(SOURCES_libvlc_control)
libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \ libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \
libvlccore.la ../compat/libcompat.la libvlccore.la ../compat/libcompat.la
libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \ libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
-DMODULE_STRING=\"control\"
libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \ libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \
-version-info 4:0:2 \ -version-info 4:0:2 \
-export-symbols $(srcdir)/libvlc.sym -export-symbols $(srcdir)/libvlc.sym
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#define __LIBVLC__ /* WTF? */
#include "../video_output/vout_control.h" #include "../video_output/vout_control.h"
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <assert.h> #include <assert.h>
#define __LIBVLC__
#include "../playlist/playlist_internal.h" #include "../playlist/playlist_internal.h"
#define PL (libvlc_priv (p_instance->p_libvlc_int)->p_playlist) #define PL (libvlc_priv (p_instance->p_libvlc_int)->p_playlist)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment