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/libdts/xine_decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libdts') diff --git a/src/libdts/xine_decoder.c b/src/libdts/xine_decoder.c index 7ae35ba00..442229668 100644 --- a/src/libdts/xine_decoder.c +++ b/src/libdts/xine_decoder.c @@ -17,15 +17,17 @@ * 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.8 2001/12/09 18:31:02 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.9 2001/12/10 12:31:09 jkeil Exp $ * * 04-09-2001 DTS passtrough (C) Joachim Koenig * 09-12-2001 DTS passthrough inprovements (C) James Courtier-Dutton * */ +#ifndef __sun /* required for swab() */ #define _XOPEN_SOURCE 500 +#endif #include #include -- cgit v1.2.3