Skip to content

Commit 37b67fa

Browse files
committed
Fix compiler error due to missing pthread header (Issue opencv#2953)
1 parent 6faf00b commit 37b67fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/highgui/src/cap_ffmpeg_impl.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
//M*/
4242

4343
#include "cap_ffmpeg_api.hpp"
44+
#if !(defined(WIN32) || defined(_WIN32) || defined(WINCE))
45+
# include <pthread.h>
46+
#endif
4447
#include <assert.h>
4548
#include <algorithm>
4649
#include <limits>

0 commit comments

Comments
 (0)