mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
97a4c60baf
Submitted by: Li-Lun Wang (Leland Wang) <llwang@infor.org>
24 lines
515 B
Plaintext
24 lines
515 B
Plaintext
--- lib/sound.cc.orig Sat Oct 16 03:16:19 2004
|
|
+++ lib/sound.cc Sat Oct 23 17:44:05 2004
|
|
@@ -20,7 +20,7 @@
|
|
// Author : Olivier Debon <odebon@club-internet.fr>
|
|
//
|
|
|
|
-#if ! defined(__linux__)
|
|
+#if ! defined(__linux__) && ! defined(__FreeBSD__)
|
|
#warning no sound support for your OS in lib/sound.cc
|
|
#define NOSOUND
|
|
#endif
|
|
@@ -33,6 +33,11 @@
|
|
#ifndef NOSOUND
|
|
#ifdef __linux__
|
|
#include <linux/soundcard.h>
|
|
+#else
|
|
+#ifdef __FreeBSD__
|
|
+#include <sys/param.h>
|
|
+#include <sys/soundcard.h>
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
|