Commit 7ab4f13d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Include vlc_services_discovery.h only where needed

parent 64fb2cd1
...@@ -30,9 +30,6 @@ extern "C" { ...@@ -30,9 +30,6 @@ extern "C" {
#include <vlc_input.h> #include <vlc_input.h>
#include <vlc_events.h> #include <vlc_events.h>
#include <vlc_services_discovery.h>
#include <stdio.h>
#include <stdlib.h>
TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t); TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t);
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#endif #endif
#include <vlc_intf_strings.h> #include <vlc_intf_strings.h>
#include <vlc_services_discovery.h>
#include "menus.hpp" #include "menus.hpp"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_arrays.h> #include <vlc_arrays.h>
#include <vlc_services_discovery.h>
#include <avahi-client/client.h> #include <avahi-client/client.h>
#include <avahi-client/publish.h> #include <avahi-client/publish.h>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_services_discovery.h>
#include <vlc_network.h> #include <vlc_network.h>
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_services_discovery.h>
#include <vlc_network.h> #include <vlc_network.h>
#include <assert.h> #include <assert.h>
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_services_discovery.h>
/* FIXME: thread-safety ?? */ /* FIXME: thread-safety ?? */
/* FIXME: playlist locking */ /* FIXME: playlist locking */
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <vlc_common.h> #include <vlc_common.h>
#include "vlc_playlist.h" #include "vlc_playlist.h"
#include "vlc_events.h" #include "vlc_events.h"
#include <vlc_services_discovery.h>
#include "playlist_internal.h" #include "playlist_internal.h"
#include "../libvlc.h" #include "../libvlc.h"
......
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