mirror of https://code.videolan.org/videolan/vlc
lib: avoid including config.h in headers
... and add it back where it was missing in a source file. Also regroup the includes in libvlc_internal.h somewhat.
This commit is contained in:
parent
940c07397d
commit
17ada6c55f
|
@ -18,6 +18,10 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "libvlc_internal.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -24,17 +24,13 @@
|
|||
#ifndef _LIBVLC_INTERNAL_H
|
||||
#define _LIBVLC_INTERNAL_H 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <vlc/libvlc.h>
|
||||
#include <vlc/libvlc_dialog.h>
|
||||
#include <vlc/libvlc_picture.h>
|
||||
#include <vlc/libvlc_media.h>
|
||||
#include <vlc/libvlc_events.h>
|
||||
#include <vlc_atomic.h>
|
||||
|
||||
#include <vlc_atomic.h>
|
||||
#include <vlc_common.h>
|
||||
#include <vlc_arrays.h>
|
||||
#include <vlc_threads.h>
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
#ifndef _LIBVLC_MEDIA_LIST_INTERNAL_H
|
||||
#define _LIBVLC_MEDIA_LIST_INTERNAL_H 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <vlc/vlc.h>
|
||||
#include <vlc/libvlc_media.h>
|
||||
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
#ifndef _LIBVLC_MEDIA_PLAYER_INTERNAL_H
|
||||
#define _LIBVLC_MEDIA_PLAYER_INTERNAL_H 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <vlc/vlc.h>
|
||||
#include <vlc/libvlc_media.h>
|
||||
#include <vlc_input.h>
|
||||
|
|
|
@ -21,10 +21,6 @@
|
|||
#ifndef _LIBVLC_RENDERER_DISCOVERER_INTERNAL_H
|
||||
#define _LIBVLC_RENDERER_DISCOVERER_INTERNAL_H 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <vlc_renderer_discovery.h>
|
||||
|
||||
vlc_renderer_item_t *
|
||||
|
|
Loading…
Reference in New Issue