Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-14 22:25:31 +00:00
parent 73ddbd9d0e
commit e4836e3c07
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@
#ifndef AVUTIL_ERROR_H
#define AVUTIL_ERROR_H
#include <errno.h>
#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. */