[vlc-devel] [vlc-commits] plugin: robustify loading cached plugin

Andrey Gursky andrey.gursky at e-mail.ua
Thu Oct 27 20:13:17 CEST 2016


RĂ©mi,

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ddf09a290ffdc664a3b402d9c0e57b5f79bb51a4

[snip]
>  /**
>   * Looks up a plugin file in a table of cached plugins.
>   */
> diff --git a/src/modules/entry.c b/src/modules/entry.c
> index 4166b0c..f9d6d8c 100644
> --- a/src/modules/entry.c
> +++ b/src/modules/entry.c
> @@ -30,6 +30,7 @@
>  #include <stdarg.h>
>  #include <limits.h>
>  #include <float.h>
> +#include <search.h>
[snip]

this breaks Android build, since search.h has been introduced in bionic
only since API 21 (while default one for VLC-android is 9). Just as
reported by Dominique Martinet for VLC in [1] 6 years ago.

Regards,
Andrey

[1] bionic support for tsearch, tfind, tdelete, twalk...
    https://code.google.com/p/android/issues/detail?id=12421


More information about the vlc-devel mailing list