aboutsummaryrefslogtreecommitdiff
path: root/audio/wavplay/files/patch-ac
blob: 8d5741e5a39bb2f6336d0c9ba1dbb06c769f07e4 (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
25
26
27
28
*** 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 <machine/soundcard.h>
+ #endif
  #include "wavplay.h"
  
  extern int clntIPC;    /* Needed for message passing in PlayDSP */