diff --git a/src/lib/ffmpeg/Filter.hxx b/src/lib/ffmpeg/Filter.hxx index b92a6ab1b..5ba73fe30 100644 --- a/src/lib/ffmpeg/Filter.hxx +++ b/src/lib/ffmpeg/Filter.hxx @@ -20,6 +20,9 @@ #ifndef MPD_FFMPEG_FILTER_HXX #define MPD_FFMPEG_FILTER_HXX +/* necessary because libavutil/common.h uses UINT64_C */ +#define __STDC_CONSTANT_MACROS + #include "Error.hxx" extern "C" {