Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.

Thanks!
This commit is contained in:
Sergey Sharybin 2012-03-12 08:46:53 +00:00
parent b22e06bf7b
commit e3df2697c3

View File

@ -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>