diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 13:43:18 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 13:43:18 +0000 |
commit | cdaf725a9b8e45ee7b0992a6658130f97b0ff05f (patch) | |
tree | 5243e5ab88a4f43e9de6e59ea1f644ee9b981458 /audio/py-vorbis/files/patch-pyvorbisfile.c | |
parent | Add py-ogg 1.0, object-oriented Python bindings for the ogg library. (diff) |
Add py-vorbis 1.0, object-oriented Python bindings for the vorbis library.
Notes
Notes:
svn path=/head/; revision=67558
Diffstat (limited to 'audio/py-vorbis/files/patch-pyvorbisfile.c')
-rw-r--r-- | audio/py-vorbis/files/patch-pyvorbisfile.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/py-vorbis/files/patch-pyvorbisfile.c b/audio/py-vorbis/files/patch-pyvorbisfile.c new file mode 100644 index 000000000000..7a33f3d00568 --- /dev/null +++ b/audio/py-vorbis/files/patch-pyvorbisfile.c @@ -0,0 +1,20 @@ +--- src/pyvorbisfile.c.orig Mon Sep 23 16:35:18 2002 ++++ src/pyvorbisfile.c Mon Sep 23 16:37:20 2002 +@@ -1,5 +1,17 @@ + #include <stdio.h> ++ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ ++#if (defined(BSD)) ++#include <machine/endian.h> ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#else + #include <endian.h> ++#endif ++ + #include <assert.h> + + #include "general.h" |