From b1b8432e471c8fe89e4b088e4a2cb66c665220da Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Mon, 10 Dec 2001 12:31:08 +0000 Subject: Disable _XOPEN_SOURCE define for solaris, it causes compile errors with a va_list typedef redefine. We get the prototype for swab() on solais by including stdlib.h / unistd.h CVS patchset: 1209 CVS date: 2001/12/10 12:31:08 --- src/liblpcm/xine_decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/liblpcm') diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c index 5359a8bcd..b449b7a70 100644 --- a/src/liblpcm/xine_decoder.c +++ b/src/liblpcm/xine_decoder.c @@ -17,14 +17,16 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.15 2001/12/09 23:56:22 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.16 2001/12/10 12:31:09 jkeil Exp $ * * 31-8-2001 Added LPCM rate sensing. * (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk * * stuff needed to turn libac3 into a xine decoder plugin */ +#ifndef __sun #define _XOPEN_SOURCE 500 +#endif #include #include -- cgit v1.2.3