[vlc-devel] [PATCH 2/2] access: dtv: fix include to the local directory
Steve Lhomme
robux4 at ycbcr.xyz
Fri Jul 12 15:50:56 CEST 2019
---
modules/access/dtv/access.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index 0a4b0ae3c1..aa02effa8f 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -31,8 +31,9 @@
#ifdef HAVE_SEARCH_H
#include <search.h>
#endif
+#include <vlc_search.h>
-#include "dtv/dtv.h"
+#include "dtv.h"
#define ADAPTER_TEXT N_("DVB adapter")
#define ADAPTER_LONGTEXT N_( \
@@ -667,7 +668,7 @@ static const char *var_InheritModulation (vlc_object_t *obj, const char *var)
return "";
size_t n = sizeof (modulation_vlc) / sizeof (modulation_vlc[0]);
- const char *const *p = lfind (mod, modulation_vlc, &n, sizeof (mod), modcmp);
+ const char *const *p = vlc_lfind(mod, modulation_vlc, &n, sizeof (mod), modcmp);
if (p != NULL)
{
free (mod);
--
2.17.1
More information about the vlc-devel
mailing list