freebsd-ports/graphics/libflash/files/patch-ai
Pav Lucistnik 79b850817d - Update to 0.4.12
PR:		ports/73078
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2004-10-25 22:48:23 +00:00

23 lines
507 B
Text

--- sound.cc.orig Sat Oct 16 03:16:19 2004
+++ 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