freebsd-ports/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
Mario Sergio Fujikawa Ferreira a8b87e1390 New port spiralsynthmodular version 0.2.0: An object orientated
modular softsynth / sequencer / sampler

Submitted by:	David Yeske <dyeske@yahoo.com>
2003-01-30 20:29:02 +00:00

19 lines
605 B
C

--- SpiralSound/Plugins/OutputPlugin/OutputPlugin.C.orig Thu Dec 12 16:23:11 2002
+++ SpiralSound/Plugins/OutputPlugin/OutputPlugin.C Tue Jan 7 01:03:15 2003
@@ -20,6 +20,7 @@
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#include <math.h>
+#define lrintf(flt) ((int) (flt))
#include <sys/types.h>
#include <stdio.h>
@@ -27,7 +28,7 @@
#include <unistd.h>
#include <limits.h>
#if defined (__FreeBSD__)
- #include <machine/soundcard.h>
+ #include <sys/soundcard.h>
#else
#if defined (__NetBSD__) || defined (__OpenBSD__)
#include <soundcard.h> /* OSS emulation */