[xiph-commits] r15051 - trunk/theora/include/theora

tterribe at svn.xiph.org tterribe at svn.xiph.org
Sat Jun 21 08:58:38 PDT 2008


Author: tterribe
Date: 2008-06-21 08:58:37 -0700 (Sat, 21 Jun 2008)
New Revision: 15051

Modified:
   trunk/theora/include/theora/theoradec.h
   trunk/theora/include/theora/theoraenc.h
Log:
Include <stddef.h> in theora[enc|dec].h directly in order to get size_t.
We had previously been relying on <ogg/ogg.h> to do this for us, but it doesn't
 do so on all plaforms.


Modified: trunk/theora/include/theora/theoradec.h
===================================================================
--- trunk/theora/include/theora/theoradec.h	2008-06-20 22:24:28 UTC (rev 15050)
+++ trunk/theora/include/theora/theoradec.h	2008-06-21 15:58:37 UTC (rev 15051)
@@ -20,6 +20,7 @@
 
 #if !defined(_O_THEORA_THEORADEC_H_)
 # define _O_THEORA_THEORADEC_H_ (1)
+# include <stddef.h>
 # include <ogg/ogg.h>
 # include "codec.h"
 

Modified: trunk/theora/include/theora/theoraenc.h
===================================================================
--- trunk/theora/include/theora/theoraenc.h	2008-06-20 22:24:28 UTC (rev 15050)
+++ trunk/theora/include/theora/theoraenc.h	2008-06-21 15:58:37 UTC (rev 15051)
@@ -20,6 +20,7 @@
 
 #if !defined(_O_THEORA_THEORAENC_H_)
 # define _O_THEORA_THEORAENC_H_ (1)
+# include <stddef.h>
 # include <ogg/ogg.h>
 # include "codec.h"
 



More information about the commits mailing list