From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2123251a7909e724c351de2bddf08e73.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701162314.AAA16129@unix1.bart.nl> Date: Fri, 17 Jan 1997 01:02:19 -0100 (GMT+1) From: Christian Czezatke Subject: Diff for wavplay Hi! Here is a small diff against wavplay 0.21w1. -- The essential thing is to change "typedef unsigned long ulongT" to "typedef unsigned int ulongT". in "play.h". Here is the diff: ---------cut here --------------------------------------------------- diff -ur wavplay021w1.old/play.c wavplay021w1/play.c --- wavplay021w1.old/play.c Sun May 12 22:34:34 1996 +++ wavplay021w1/play.c Mon Dec 23 12:26:42 1996 @@ -15,7 +15,12 @@ #include "play.h" extern int errno; +#ifdef __alpha__ +#include +#endif +#ifndef __alpha__ extern char *sys_errlist[]; +#endif /********************************************************************* * error handler for commandline version on WAVplay/record diff -ur wavplay021w1.old/play.h wavplay021w1/play.h --- wavplay021w1.old/play.h Sat May 11 19:34:57 1996 +++ wavplay021w1/play.h Mon Dec 23 12:40:38 1996 @@ -12,8 +12,13 @@ #define AUDIOLCK 0x33333333 #endif +#ifdef __alpha__ +typedef unsigned int ulongT; +typedef unsigned short ushortT; +#else typedef unsigned long ulongT; typedef unsigned short ushortT; +#endif typedef struct { /* header for WAV-Files */ char main_chunk[4]; /* 'RIFF' */ ------------------- cut here ----------------------------------- If you still have problems with "wavplay" please let me know. Christian -------------------------------------------------------------------- | Christian Czezatke, Student of Computer Science at the Vienna | | University Of Technology. -- Also hacking around with Linux and | | ACAD for fun and for profit. | -------------------------------------------------------------------- Our continuing mission: To seek out knowledge of C, explore strange Un*x commands, to boldly code where no-one has manpage 4. - The Linux Programer's Guide -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com