Browse Source

Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 15 years ago
parent
commit
e4836e3c07
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libavutil/error.h

+ 3 - 0
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. */