summaryrefslogtreecommitdiff
path: root/libavutil/error.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-14 22:25:31 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-14 22:25:31 +0000
commite4836e3c078281d5ea8de8569836613a7b43ccce (patch)
treea4ee1e19484e70965d66597338f1777deaa003a2 /libavutil/error.h
parent73ddbd9d0e2cc23826646c03d190ebeba9074dfa (diff)
Add missing includes to libavutil/error.h
Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/error.h')
-rw-r--r--libavutil/error.h3
1 files changed, 3 insertions, 0 deletions
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 <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. */