changeset 323:1bac284886f9

Fix build with gcc 4.6
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 14 Oct 2011 09:48:47 +0100
parents 691c1116fc02
children 6332e4993f27 4ea336cf845e
files build/linux/Makefile.linux dsp/tempotracking/DownBeat.h dsp/tempotracking/TempoTrackV2.h
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build/linux/Makefile.linux	Fri Oct 14 09:41:38 2011 +0100
+++ b/build/linux/Makefile.linux	Fri Oct 14 09:48:47 2011 +0100
@@ -1,5 +1,5 @@
 
-CFLAGS := -DNDEBUG -O3 -fno-exceptions -fPIC -ffast-math -msse -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -DUSE_PTHREADS
+CFLAGS := -DNDEBUG -O3 -fno-exceptions -fPIC -ffast-math -msse -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -DUSE_PTHREADS -I./include
 CXXFLAGS := $(CFLAGS)
 
 include build/general/Makefile.inc
--- a/dsp/tempotracking/DownBeat.h	Fri Oct 14 09:41:38 2011 +0100
+++ b/dsp/tempotracking/DownBeat.h	Fri Oct 14 09:48:47 2011 +0100
@@ -17,6 +17,7 @@
 #define DOWNBEAT_H
 
 #include <vector>
+#include <cstddef>
 
 #include "dsp/rateconversion/Decimator.h"
 
--- a/dsp/tempotracking/TempoTrackV2.h	Fri Oct 14 09:41:38 2011 +0100
+++ b/dsp/tempotracking/TempoTrackV2.h	Fri Oct 14 09:48:47 2011 +0100
@@ -18,6 +18,7 @@
 #define TEMPOTRACKV2_H
 
 #include <vector>
+#include <cstddef>
 
 using std::vector;