mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
osxvideo: include pthread.h to fix compiler warning
https://bugzilla.gnome.org/show_bug.cgi?id=697303
This commit is contained in:
parent
b79f667ef4
commit
a30476497f
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ GST_DEBUG_CATEGORY (gst_debug_osx_video_sink);
|
||||||
#define GST_CAT_DEFAULT gst_debug_osx_video_sink
|
#define GST_CAT_DEFAULT gst_debug_osx_video_sink
|
||||||
|
|
||||||
#ifdef RUN_NS_APP_THREAD
|
#ifdef RUN_NS_APP_THREAD
|
||||||
|
#include <pthread.h>
|
||||||
extern void _CFRunLoopSetCurrent(CFRunLoopRef rl);
|
extern void _CFRunLoopSetCurrent(CFRunLoopRef rl);
|
||||||
extern pthread_t _CFMainPThread;
|
extern pthread_t _CFMainPThread;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue