From 45a7ec18685be687110109b422dc03cf6ee068a5 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Mon, 28 Sep 2009 09:45:23 +0000 Subject: [PATCH] * Fixes for gcc-4.4 (thanks Alexis Ballier) --- Makefile.in | 6 +++--- src/system/sysutils.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 41fd513..01f2ab4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -150,10 +150,10 @@ install: all test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION) test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME) cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR) - cp src/vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR) + cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR) cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR) - cp src/ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR) - cp src/ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR) + cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR) + cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR) sed "s,%PREFIX%,@prefix@," rubberband.pc.in \ > $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc diff --git a/src/system/sysutils.h b/src/system/sysutils.h index 9e5e336..ae48a64 100644 --- a/src/system/sysutils.h +++ b/src/system/sysutils.h @@ -80,6 +80,7 @@ inline float princargf(float a) { return modf(a + (float)M_PI, -2.f * (float)M_P #else #include +#include #include #define MLOCK(a,b) ::mlock((char *)(a),(b))