[MPlayer-cvslog] r30039 - in trunk/tremor: misc.h tremor.diff

diego subversion at mplayerhq.hu
Mon Dec 14 12:54:49 CET 2009


Author: diego
Date: Mon Dec 14 12:54:49 2009
New Revision: 30039

Log:
Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
patch by Peter Hjalmarsson, xake rymdraket net

Modified:
   trunk/tremor/misc.h
   trunk/tremor/tremor.diff

Modified: trunk/tremor/misc.h
==============================================================================
--- trunk/tremor/misc.h	Mon Dec 14 05:06:25 2009	(r30038)
+++ trunk/tremor/misc.h	Mon Dec 14 12:54:49 2009	(r30039)
@@ -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

Modified: trunk/tremor/tremor.diff
==============================================================================
--- trunk/tremor/tremor.diff	Mon Dec 14 05:06:25 2009	(r30038)
+++ trunk/tremor/tremor.diff	Mon Dec 14 12:54:49 2009	(r30039)
@@ -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;
  };


More information about the MPlayer-cvslog mailing list