OSDN Git Service

Add missing includes to libavutil/error.h
authorMåns Rullgård <mans@mansr.com>
Sun, 14 Mar 2010 22:25:31 +0000 (22:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 14 Mar 2010 22:25:31 +0000 (22:25 +0000)
Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/error.h

index 61b8e1d..8a53b90 100644 (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. */