summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/avcodec.h2
-rw-r--r--libavcodec/bytestream.h1
-rw-r--r--libavcodec/mpegvideo_common.h1
-rw-r--r--libavformat/mxf.h1
-rw-r--r--libpostproc/postprocess_internal.h1
5 files changed, 5 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"
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index 5094575cfe..7c1e2ee350 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@ -21,6 +21,7 @@
#ifndef AVFORMAT_MXF_H
#define AVFORMAT_MXF_H
+#include <string.h>
#include "avformat.h"
#include "libavcodec/bytestream.h"
diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h
index 6db07560c1..de6f0bea20 100644
--- a/libpostproc/postprocess_internal.h
+++ b/libpostproc/postprocess_internal.h
@@ -26,6 +26,7 @@
#ifndef POSTPROCESS_POSTPROCESS_INTERNAL_H
#define POSTPROCESS_POSTPROCESS_INTERNAL_H
+#include <string.h>
#include "libavutil/avutil.h"
#include "postprocess.h"