From e4836e3c078281d5ea8de8569836613a7b43ccce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 14 Mar 2010 22:25:31 +0000
Subject: [PATCH] Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavutil/error.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/error.h b/libavutil/error.h
index 61b8e1dd06a..8a53b906a25 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. */
-- 
GitLab