osxvideo: include pthread.h to fix compiler warning
authorTodd Agulnick <todd@agulnick.com>
Fri, 5 Apr 2013 08:34:23 +0000 (09:34 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 5 Apr 2013 08:34:23 +0000 (09:34 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=697303

sys/osxvideo/osxvideosink.m

index 873df06092f464858ffd4194f4e5f6576effce93..9de76ff3bc1f3f9afce67572bcad4ca9e64c688c 100644 (file)
@@ -48,6 +48,7 @@ GST_DEBUG_CATEGORY (gst_debug_osx_video_sink);
 #define GST_CAT_DEFAULT gst_debug_osx_video_sink
 
 #ifdef RUN_NS_APP_THREAD
+#include <pthread.h>
 extern  void _CFRunLoopSetCurrent(CFRunLoopRef rl);
 extern pthread_t _CFMainPThread;
 #endif