summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-25 19:11:10 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-25 19:11:10 +0000
commitc60208e7a1f69ef62632ad3906503aefccbdc433 (patch)
tree7c5236a4c9f106d83236e38a33bfb8a71f7d4598 /libavcodec
parent30e98e62b132038418c23c70d2d8501ea052bb42 (diff)
Directly #include some required headers.
Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h2
-rw-r--r--libavcodec/bytestream.h1
-rw-r--r--libavcodec/mpegvideo_common.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index edd4a7beb6..6aa41b5538 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -26,7 +26,7 @@
* external API header
*/
-
+#include <errno.h>
#include "libavutil/avutil.h"
#define LIBAVCODEC_VERSION_MAJOR 52
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index 0f2178a86e..b56f6ce743 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -22,6 +22,7 @@
#ifndef AVCODEC_BYTESTREAM_H
#define AVCODEC_BYTESTREAM_H
+#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
diff --git a/libavcodec/mpegvideo_common.h b/libavcodec/mpegvideo_common.h
index 3756820043..701b3c9b75 100644
--- a/libavcodec/mpegvideo_common.h
+++ b/libavcodec/mpegvideo_common.h
@@ -30,6 +30,7 @@
#ifndef AVCODEC_MPEGVIDEO_COMMON_H
#define AVCODEC_MPEGVIDEO_COMMON_H
+#include <string.h>
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"