diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 16a33150302e4ba8640b6f97a7f5062c807b3178..64d0ce1644cefaccc714ce87b74533b1df8e8f62 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -13,6 +13,7 @@ extern "C" { #include "common.h" #include "rational.h" +#include <sys/types.h> /* size_t */ #define FFMPEG_VERSION_INT 0x000408 #define FFMPEG_VERSION "0.4.8"