Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-03-12 12:46:53 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-03-12 12:46:53 +0400
commite3df2697c3470b64b51eea094867b23bf386a930 (patch)
tree9ed1ce329974535679f9bec62959a017e466e9f2 /source/gameengine/VideoTexture/VideoFFmpeg.h
parentb22e06bf7b7aa643ae68fa08f05848475bb3dd8f (diff)
Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!
Diffstat (limited to 'source/gameengine/VideoTexture/VideoFFmpeg.h')
-rw-r--r--source/gameengine/VideoTexture/VideoFFmpeg.h4
1 files changed, 4 insertions, 0 deletions
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 <inttypes.h>
+#endif
extern "C" {
#undef __cplusplus
#include <pthread.h>