blob: 6d8af4a35dede31a51e8ea065b26b978fd04f1bd (
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
|
--- msg.c.orig 1999-12-04 00:06:42 UTC
+++ msg.c
@@ -47,7 +47,9 @@ static const char rcsid[] = "@(#)msg.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>
@@ -56,7 +58,11 @@ static const char rcsid[] = "@(#)msg.c $
#include <sys/msg.h>
#include <sys/ioctl.h>
#include <assert.h>
+#ifndef FREEBSD
#include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
#include "wavplay.h"
/*
|