summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/adler32.h2
-rw-r--r--libavutil/aes.h2
-rw-r--r--libavutil/base64.h2
-rw-r--r--libavutil/bswap.h3
-rw-r--r--libavutil/crc.h3
-rw-r--r--libavutil/fifo.h2
-rw-r--r--libavutil/integer.h2
-rw-r--r--libavutil/internal.h3
-rw-r--r--libavutil/intreadwrite.h2
-rw-r--r--libavutil/md5.h2
-rw-r--r--libavutil/rational.h2
-rw-r--r--libavutil/sha1.h2
-rw-r--r--libavutil/softfloat.h2
13 files changed, 29 insertions, 0 deletions
diff --git a/libavutil/adler32.h b/libavutil/adler32.h
index f56d416fb8..223cbfd223 100644
--- a/libavutil/adler32.h
+++ b/libavutil/adler32.h
@@ -21,6 +21,8 @@
#ifndef ADLER32_H
#define ADLER32_H
+#include <stdint.h>
+
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
unsigned int len);
diff --git a/libavutil/aes.h b/libavutil/aes.h
index 39a38b724d..a4ee1f9659 100644
--- a/libavutil/aes.h
+++ b/libavutil/aes.h
@@ -21,6 +21,8 @@
#ifndef AES_H
#define AES_H
+#include <stdint.h>
+
extern const int av_aes_size;
struct AVAES;
diff --git a/libavutil/base64.h b/libavutil/base64.h
index 3d905313cf..7f21c71c71 100644
--- a/libavutil/base64.h
+++ b/libavutil/base64.h
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stdint.h>
+
/**
* decodes base64
* param order as strncpy()
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index 7bca81492c..3b6c2c0407 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -26,6 +26,9 @@
#ifndef __BSWAP_H__
#define __BSWAP_H__
+#include <stdint.h>
+#include "common.h"
+
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
#else
diff --git a/libavutil/crc.h b/libavutil/crc.h
index 1f6431992b..11c4fd09b0 100644
--- a/libavutil/crc.h
+++ b/libavutil/crc.h
@@ -21,6 +21,9 @@
#ifndef CRC_H
#define CRC_H
+#include <stdint.h>
+#include <sys/types.h>
+
typedef uint32_t AVCRC;
#if LIBAVUTIL_VERSION_INT < (50<<16)
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index e1e85293dd..278a8c82f3 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -24,6 +24,8 @@
#ifndef FIFO_H
#define FIFO_H
+#include <stdint.h>
+
typedef struct AVFifoBuffer {
uint8_t *buffer;
uint8_t *rptr, *wptr, *end;
diff --git a/libavutil/integer.h b/libavutil/integer.h
index 2a4d703166..2a6f8b0279 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -29,6 +29,8 @@
#ifndef INTEGER_H
#define INTEGER_H
+#include <stdint.h>
+
#define AV_INTEGER_SIZE 8
typedef struct AVInteger{
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 67f9fe6d9e..7a97f54782 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -26,6 +26,9 @@
#ifndef INTERNAL_H
#define INTERNAL_H
+#include <stdint.h>
+#include <assert.h>
+
#ifndef attribute_used
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define attribute_used __attribute__((used))
diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h
index 495cb54062..6e265eaa17 100644
--- a/libavutil/intreadwrite.h
+++ b/libavutil/intreadwrite.h
@@ -19,6 +19,8 @@
#ifndef INTREADWRITE_H
#define INTREADWRITE_H
+#include <stdint.h>
+
#ifdef __GNUC__
struct unaligned_64 { uint64_t l; } __attribute__((packed));
diff --git a/libavutil/md5.h b/libavutil/md5.h
index 8d1b4b5fe7..fa83b1cdfe 100644
--- a/libavutil/md5.h
+++ b/libavutil/md5.h
@@ -21,6 +21,8 @@
#ifndef MD5_H
#define MD5_H
+#include <stdint.h>
+
extern const int av_md5_size;
struct AVMD5;
diff --git a/libavutil/rational.h b/libavutil/rational.h
index 63c0b150f2..8aaba667aa 100644
--- a/libavutil/rational.h
+++ b/libavutil/rational.h
@@ -29,6 +29,8 @@
#ifndef RATIONAL_H
#define RATIONAL_H
+#include <stdint.h>
+
/**
* Rational number num/den.
*/
diff --git a/libavutil/sha1.h b/libavutil/sha1.h
index 8739cbde93..181cf79bd9 100644
--- a/libavutil/sha1.h
+++ b/libavutil/sha1.h
@@ -1,6 +1,8 @@
#ifndef AV_SHA1_H
#define AV_SHA1_H
+#include <stdint.h>
+
extern const int av_sha1_size;
struct AVSHA1;
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 5bb2c1cbc8..422c1b3d6d 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -19,6 +19,8 @@
*
*/
+#include <stdint.h>
+
#define MIN_EXP -126
#define MAX_EXP 126
#define ONE_BITS 29