Mercurial > libavutil.hg
comparison error.h @ 885:311037a6cb91 libavutil
Add missing includes to libavutil/error.h
author | mru |
---|---|
date | Sun, 14 Mar 2010 22:25:31 +0000 |
parents | bac1abbd0702 |
children | d4062b438548 |
comparison
equal
deleted
inserted
replaced
884:bac1abbd0702 | 885:311037a6cb91 |
---|---|
21 * error code definitions | 21 * error code definitions |
22 */ | 22 */ |
23 | 23 |
24 #ifndef AVUTIL_ERROR_H | 24 #ifndef AVUTIL_ERROR_H |
25 #define AVUTIL_ERROR_H | 25 #define AVUTIL_ERROR_H |
26 | |
27 #include <errno.h> | |
28 #include "avutil.h" | |
26 | 29 |
27 /* error handling */ | 30 /* error handling */ |
28 #if EINVAL > 0 | 31 #if EINVAL > 0 |
29 #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */ | 32 #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */ |
30 #define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */ | 33 #define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */ |