diff options
Diffstat (limited to 'audio/wavplay/files/patch-file.c')
-rw-r--r-- | audio/wavplay/files/patch-file.c | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/audio/wavplay/files/patch-file.c b/audio/wavplay/files/patch-file.c index 97163c03f663..d2b7a29f13cc 100644 --- a/audio/wavplay/files/patch-file.c +++ b/audio/wavplay/files/patch-file.c @@ -1,28 +1,24 @@ -*** file.c.orig Sat Jan 15 12:55:46 2000 ---- file.c Sat Jan 15 13:15:38 2000 -*************** -*** 56,62 **** ---- 56,64 ---- - #include <unistd.h> - #include <errno.h> - #include <fcntl.h> -+ #ifndef FREEBSD - #include <malloc.h> -+ #endif - #include <string.h> - #include <memory.h> - #include <signal.h> -*************** -*** 64,70 **** ---- 66,76 ---- - #include <sys/ipc.h> - #include <sys/ioctl.h> - #include <assert.h> -+ #ifndef FREEBSD - #include <linux/soundcard.h> -+ #else -+ #include <sys/soundcard.h> -+ #endif - #include "wavplay.h" - - extern int clntIPC; /* Needed for message passing in PlayDSP */ +--- file.c.orig 1999-12-04 00:06:42 UTC ++++ file.c +@@ -56,7 +56,9 @@ static const char rcsid[] = "@(#)file.c + #include <unistd.h> + #include <errno.h> + #include <fcntl.h> ++#ifndef FREEBSD + #include <malloc.h> ++#endif + #include <string.h> + #include <memory.h> + #include <signal.h> +@@ -64,7 +66,11 @@ static const char rcsid[] = "@(#)file.c + #include <sys/ipc.h> + #include <sys/ioctl.h> + #include <assert.h> ++#ifndef FREEBSD + #include <linux/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + #include "wavplay.h" + + extern int clntIPC; /* Needed for message passing in PlayDSP */ |