From 7ac4b2bb66e8915e335c5e3ef21fb100e8c1bdb9 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 4 Jun 2015 01:16:52 +0200 Subject: [PATCH] Fix for travis build issue --- extern/osg-ffmpeg-videoplayer/videoplayer.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extern/osg-ffmpeg-videoplayer/videoplayer.hpp b/extern/osg-ffmpeg-videoplayer/videoplayer.hpp index b886257e7..79f9edb1c 100644 --- a/extern/osg-ffmpeg-videoplayer/videoplayer.hpp +++ b/extern/osg-ffmpeg-videoplayer/videoplayer.hpp @@ -1,6 +1,14 @@ #ifndef VIDEOPLAYER_H #define VIDEOPLAYER_H +// FIXME: This can't be right? The ffmpeg headers refuse to build without UINT64_C, +// which only gets defined in stdint.h in either C99 mode or with this macro +// defined... +#ifndef __STDC_CONSTANT_MACROS +#define __STDC_CONSTANT_MACROS +#endif +#include + #include #include