mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-03 22:23:24 +00:00
e4c68617dc
support for NetBSD in the Makefiles. Other than that nothing changed.
29 lines
619 B
Plaintext
29 lines
619 B
Plaintext
--- 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
|