1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/audio/dap/files/patch-ab
Steve Price 2aa59dc6ec Update to version 2.0.2.
PR:		10939
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
1999-05-01 03:25:12 +00:00

31 lines
577 B
Plaintext

Index: libaudio/audio.h
@@ -17,13 +17,15 @@
|
****************************************************************************/
-#ifdef LINUX
+#if defined(LINUX) || defined(__FreeBSD__)
#ifndef _audio_h
#define _audio_h
#include <stdio.h>
+#ifndef __FreeBSD__
#include <malloc.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
@@ -31,7 +33,11 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#ifdef __FreeBSD__
+#include <machine/soundcard.h>
+#else
#include <sys/soundcard.h>
+#endif
#ifdef __cplusplus
extern "C"