summaryrefslogtreecommitdiff
path: root/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp
blob: 524499aaa6a62451100a0fff74dc99e3d850c419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- common/plugins/effects/ladspa/ladspa_effect.cpp.orig	Sun Oct 26 05:07:38 2003
+++ common/plugins/effects/ladspa/ladspa_effect.cpp	Thu Oct 30 12:01:23 2003
@@ -18,6 +18,11 @@
 #include <dirent.h>
 #include <dlfcn.h>
 
+#if defined(__FreeBSD__)
+  #define lrint(flt)	((int) (flt))
+  #define lrintf(flt)	((int) (flt))
+#endif
+
 
 void LADSPA_Effect::reset() {