[xiph-commits] r10686 - icecast/trunk/libshout/src
brendan at svn.xiph.org
brendan at svn.xiph.org
Tue Jan 3 10:47:58 PST 2006
Author: brendan
Date: 2006-01-03 10:47:54 -0800 (Tue, 03 Jan 2006)
New Revision: 10686
Modified:
icecast/trunk/libshout/src/ogg.c
icecast/trunk/libshout/src/theora.c
icecast/trunk/libshout/src/vorbis.c
Log:
I seem to need to include inttypes.h on OS X.4.3 before including any ogg headers.
Seems like this might be libogg's fault (or fink's libogg package), but the
workaround should be harmless.
Modified: icecast/trunk/libshout/src/ogg.c
===================================================================
--- icecast/trunk/libshout/src/ogg.c 2006-01-02 12:49:13 UTC (rev 10685)
+++ icecast/trunk/libshout/src/ogg.c 2006-01-03 18:47:54 UTC (rev 10686)
@@ -26,6 +26,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#include <ogg/ogg.h>
#include <shout/shout.h>
Modified: icecast/trunk/libshout/src/theora.c
===================================================================
--- icecast/trunk/libshout/src/theora.c 2006-01-02 12:49:13 UTC (rev 10685)
+++ icecast/trunk/libshout/src/theora.c 2006-01-03 18:47:54 UTC (rev 10686)
@@ -23,6 +23,10 @@
# include <config.h>
#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+
#include <theora/theora.h>
#include "shout_private.h"
Modified: icecast/trunk/libshout/src/vorbis.c
===================================================================
--- icecast/trunk/libshout/src/vorbis.c 2006-01-02 12:49:13 UTC (rev 10685)
+++ icecast/trunk/libshout/src/vorbis.c 2006-01-03 18:47:54 UTC (rev 10686)
@@ -23,6 +23,10 @@
# include <config.h>
#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#include <vorbis/codec.h>
#include "shout_private.h"
More information about the commits
mailing list