summaryrefslogtreecommitdiff
path: root/audio/wavplay/files/patch-client.c
blob: 2307cc352fc9dfb40c283d823eae04d6d92d96d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- client.c.orig	1999-12-04 00:06:42 UTC
+++ client.c
@@ -47,7 +47,9 @@ static const char rcsid[] = "@(#)client.
 #include <unistd.h>
 #include <errno.h>
 #include <time.h>
+#ifndef FREEBSD
 #include <malloc.h>
+#endif
 #include <string.h>
 #include <memory.h>
 #include <signal.h>
@@ -57,7 +59,11 @@ static const char rcsid[] = "@(#)client.
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <assert.h>
+#ifndef FREEBSD
 #include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
 #include "wavplay.h"
 #include "client.h"