diff --git a/libavutil/error.h b/libavutil/error.h index 61b8e1dd06..8a53b906a2 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -24,6 +24,9 @@ #ifndef AVUTIL_ERROR_H #define AVUTIL_ERROR_H +#include +#include "avutil.h" + /* error handling */ #if EINVAL > 0 #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */