#include <vlc_arrays.h>
-> //#include <vlc_arrays.h>
need add #include "../../core/compat/poll.h"
need add few lines
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#include "vlc_configuration.h"
-> //#include "vlc_configuration.h"