diff --git a/source/gameengine/VideoTexture/VideoFFmpeg.h b/source/gameengine/VideoTexture/VideoFFmpeg.h index 1c07bc957f3..40b2658eb42 100644 --- a/source/gameengine/VideoTexture/VideoFFmpeg.h +++ b/source/gameengine/VideoTexture/VideoFFmpeg.h @@ -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 +#endif extern "C" { #undef __cplusplus #include