Commit 9df6dcff authored by mru's avatar mru

Add missing includes to libavutil/error.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22529 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2349c0c6
...@@ -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