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:
Johannes Kauffmann 2023-07-04 21:57:10 +02:00 committed by Jean-Baptiste Kempf
parent 940c07397d
commit 17ada6c55f
5 changed files with 5 additions and 17 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 *