freebsd-ports/audio/dap/files/patch-ab
Steve Price e4c68617dc Checksum changed on MASTER_SITE, fixup accordingly. Seems they added
support for NetBSD in the Makefiles.  Other than that nothing changed.
1999-12-22 21:26:50 +00:00

28 lines
619 B
Text

--- libaudio/audio.h.orig Fri Nov 12 11:35:21 1999
+++ libaudio/audio.h Sat Dec 11 13:36:15 1999
@@ -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>
@@ -33,6 +35,8 @@
#include <sys/ioctl.h>
#ifdef __NetBSD__
#include <soundcard.h>
+#elif defined(__FreeBSD__)
+#include <machine/soundcard.h>
#else
#include <sys/soundcard.h>
#endif