From 37b67fa50d83cbc17b85936e02dabee5b87654b7 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 13 Jun 2013 12:19:25 +0400 Subject: [PATCH] Fix compiler error due to missing pthread header (Issue #2953) --- modules/highgui/src/cap_ffmpeg_impl.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index f5d6b48065..99da45f4c0 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -41,6 +41,9 @@ //M*/ #include "cap_ffmpeg_api.hpp" +#if !(defined(WIN32) || defined(_WIN32) || defined(WINCE)) +# include +#endif #include #include #include