1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix build problem on FreeBSD 5-current.

o <machine/soundcard.h> is moved to <sys/soundcard.h> on 4-stable
    and 5-current.
This commit is contained in:
Motoyuki Konno 2002-04-11 04:58:47 +00:00
parent b345761190
commit f5f9e49a3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57556
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- src/audio_out/audio_oss_out.c.old Tue Jan 15 21:55:15 2002
+++ src/audio_out/audio_oss_out.c Thu Apr 11 13:27:47 2002
@@ -49,7 +49,11 @@
#if defined(__OpenBSD__)
#include <soundcard.h>
#elif defined(__FreeBSD__)
+#if __FreeBSD__ > 3
+#include <sys/soundcard.h>
+#else
#include <machine/soundcard.h>
+#endif
#else
#if defined(__linux__)
#include <linux/config.h> /* Check for DEVFS */

View File

@ -0,0 +1,14 @@
--- src/audio_out/audio_oss_out.c.old Tue Jan 15 21:55:15 2002
+++ src/audio_out/audio_oss_out.c Thu Apr 11 13:27:47 2002
@@ -49,7 +49,11 @@
#if defined(__OpenBSD__)
#include <soundcard.h>
#elif defined(__FreeBSD__)
+#if __FreeBSD__ > 3
+#include <sys/soundcard.h>
+#else
#include <machine/soundcard.h>
+#endif
#else
#if defined(__linux__)
#include <linux/config.h> /* Check for DEVFS */