Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!
This commit is contained in:
parent
b22e06bf7b
commit
e3df2697c3
@ -28,6 +28,10 @@ http://www.gnu.org/copyleft/lesser.txt.
|
||||
#define __VIDEOFFMPEG_H__
|
||||
|
||||
#ifdef WITH_FFMPEG
|
||||
#if defined(__FreeBSD__)
|
||||
/* this needs to be parsed with __cplusplus defined before included through ffmpeg_compat.h */
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
extern "C" {
|
||||
#undef __cplusplus
|
||||
#include <pthread.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user