diff options
Diffstat (limited to 'audio/wavplay/files/patch-server.c')
-rw-r--r-- | audio/wavplay/files/patch-server.c | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/audio/wavplay/files/patch-server.c b/audio/wavplay/files/patch-server.c index bb362f08f92e..710fffcb8468 100644 --- a/audio/wavplay/files/patch-server.c +++ b/audio/wavplay/files/patch-server.c @@ -1,28 +1,24 @@ -*** server.c.orig Sat Jan 15 12:59:19 2000 ---- server.c Sat Jan 15 13:17:07 2000 -*************** -*** 65,71 **** ---- 65,73 ---- - #include <unistd.h> - #include <errno.h> - #include <fcntl.h> -+ #ifndef FREEBSD - #include <malloc.h> -+ #endif - #include <string.h> - #include <memory.h> - #include <signal.h> -*************** -*** 79,85 **** ---- 81,91 ---- - #ifdef SCHED_PRIORITY - #include <sched.h> - #endif -+ #ifndef FREEBSD - #include <linux/soundcard.h> -+ #else -+ #include <sys/soundcard.h> -+ #endif - #include "wavplay.h" - #include "server.h" - +--- server.c.orig 1999-12-04 00:06:42 UTC ++++ server.c +@@ -65,7 +65,9 @@ static const char rcsid[] = "@(#)server. + #include <unistd.h> + #include <errno.h> + #include <fcntl.h> ++#ifndef FREEBSD + #include <malloc.h> ++#endif + #include <string.h> + #include <memory.h> + #include <signal.h> +@@ -79,7 +81,11 @@ static const char rcsid[] = "@(#)server. + #ifdef SCHED_PRIORITY + #include <sched.h> + #endif ++#ifndef FREEBSD + #include <linux/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + #include "wavplay.h" + #include "server.h" + |