Commit b983946d authored by Rémi Duraffort's avatar Rémi Duraffort

only include search.h if available (anyway vlc_fixups will define the functions if needed).

parent 1d69914e
......@@ -29,7 +29,9 @@
#include <vlc_services_discovery.h>
#include <vlc_plugin.h>
#include <vlc_url.h>
#include <search.h>
#ifdef HAVE_SEARCH_H
# include <search.h>
#endif
#include <poll.h>
#include <errno.h>
......
......@@ -32,8 +32,10 @@ typedef xcb_atom_t Atom;
#include <vlc_dialog.h>
#include <vlc_charset.h>
#include <vlc_plugin.h>
#ifdef HAVE_SEARCH_H
# include <search.h>
#endif
#include <poll.h>
#include <search.h>
static int Open (vlc_object_t *);
static void Close (vlc_object_t *);
......
......@@ -47,6 +47,11 @@
#include "vlc_codec.h"
#include "variables.h"
#ifdef HAVE_SEARCH_H
# include <search.h>
#endif
#ifndef WIN32
# include <unistd.h>
#else
......@@ -61,7 +66,6 @@
# define close( a ) closesocket (a)
#endif
#include <search.h>
#include <limits.h>
#include <assert.h>
......
......@@ -32,9 +32,12 @@
#include <vlc_charset.h>
#include "variables.h"
#ifdef HAVE_SEARCH_H
# include <search.h>
#endif
#include "libvlc.h"
#include <search.h>
#include <assert.h>
#include <math.h>
#include <limits.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