Fix build on CURRENT.

PR:		ports/40606
Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>
This commit is contained in:
Akinori MUSHA 2002-07-23 21:07:04 +00:00
parent 527891d998
commit 3e2499684e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63451
2 changed files with 14 additions and 3 deletions

View File

@ -1,11 +1,12 @@
--- sound.cc.orig Thu Sep 2 00:10:03 1999
+++ sound.cc Thu Oct 12 14:49:31 2000
@@ -26,7 +26,11 @@
+++ sound.cc Wed Jul 24 06:04:56 2002
@@ -26,7 +26,12 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#ifndef NOSOUND
+#ifdef __FreeBSD__
+#include <machine/soundcard.h>
+#include <sys/param.h>
+#include <sys/soundcard.h>
+#else
#include <linux/soundcard.h>
+#endif

View File

@ -0,0 +1,10 @@
--- shape.cc.orig Fri Jul 12 07:55:33 2002
+++ shape.cc Fri Jul 12 07:56:13 2002
@@ -21,6 +21,7 @@
//
#include "swf.h"
+#include <math.h>
#ifdef RCSID
static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $";