Rémi Bernon (@rbernon) commented about dlls/winegstreamer/unix_private.h:
extern bool link_src_to_element(GstPad *src_pad, GstElement *element); extern bool link_element_to_sink(GstElement *element, GstPad *sink_pad); extern bool push_event(GstPad *pad, GstEvent *event); +extern UINT16 get_thread_count(void);
You could probably just make the global variable extern.