Mercurial > mplayer.hg
changeset 29997:997ae534ebfe
Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
patch by Peter Hjalmarsson, xake rymdraket net
author | diego |
---|---|
date | Mon, 14 Dec 2009 11:54:49 +0000 |
parents | bf0e351cdb20 |
children | 0dacb57a3d3e |
files | tremor/misc.h tremor/tremor.diff |
diffstat | 2 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tremor/misc.h Mon Dec 14 04:06:25 2009 +0000 +++ b/tremor/misc.h Mon Dec 14 11:54:49 2009 +0000 @@ -18,6 +18,7 @@ #ifndef _V_RANDOM_H_ #define _V_RANDOM_H_ #include "ivorbiscodec.h" +#include "codec_internal.h" #include "os_types.h" #include "asm_arm.h" @@ -29,6 +30,7 @@ /* 64 bit multiply */ #include <sys/types.h> +#include <stdlib.h> #include "config.h" #if !HAVE_BIGENDIAN
--- a/tremor/tremor.diff Mon Dec 14 04:06:25 2009 +0000 +++ b/tremor/tremor.diff Mon Dec 14 11:54:49 2009 +0000 @@ -1,9 +1,18 @@ --- misc.h 2005-01-04 16:29:01.000000000 +0100 +++ misc.h 2004-12-30 13:09:20.000000000 +0100 -@@ -29,8 +29,9 @@ +@@ -18,6 +18,7 @@ + #ifndef _V_RANDOM_H_ + #define _V_RANDOM_H_ + #include "ivorbiscodec.h" ++#include "codec_internal.h" + #include "os_types.h" + + #include "asm_arm.h" +@@ -29,8 +30,10 @@ /* 64 bit multiply */ #include <sys/types.h> ++#include <stdlib.h> +#include "config.h" -#if BYTE_ORDER==LITTLE_ENDIAN @@ -11,7 +20,7 @@ union magic { struct { ogg_int32_t lo; -@@ -38,9 +39,7 @@ +@@ -38,9 +41,7 @@ } halves; ogg_int64_t whole; };