Commit e4836e3c authored by Måns Rullgård's avatar Måns Rullgård

Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 73ddbd9d
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
#ifndef AVUTIL_ERROR_H #ifndef AVUTIL_ERROR_H
#define AVUTIL_ERROR_H #define AVUTIL_ERROR_H
#include <errno.h>
#include "avutil.h"
/* error handling */ /* error handling */
#if EINVAL > 0 #if EINVAL > 0
#define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */ #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment