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/xine-engine/audio_out.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_out.c') diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index ba112d0a6..262f9851f 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.37 2001/12/09 18:31:02 jcdutton Exp $ + * $Id: audio_out.c,v 1.38 2001/12/10 12:31:09 jkeil Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe @@ -41,8 +41,10 @@ * Currently, I don't think resampling functions, as I cannot test it. */ +#ifndef __sun /* required for swab() */ #define _XOPEN_SOURCE 500 +#endif /* required for FNDELAY decl */ #define _BSD_SOURCE 1 -- cgit v1.2.3