summaryrefslogtreecommitdiff
path: root/audio/wavplay/files/patch-server.c
blob: 710fffcb84682bc38a0c5223a96691caa7d5b27a (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
--- 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"