[PATCH] Fixed building of sflphone-common on Maemo5

1. echocancel.cpp was missing #include <cmath>
2. astyle search was using find -exec (replaced with xargs)
This commit is contained in:
Marat Radchenko
2010-12-15 15:50:37 -05:00
committed by Pierre-Luc Bacon
parent 5e98ca7a1e
commit 315d64b951
2 changed files with 2 additions and 2 deletions

View File

@ -74,5 +74,5 @@ AM_CPPFLAGS = \
indent:
@echo "Indenting code:"
if [ -f $(ASTYLERC) ] ; then \
find $(top_srcdir)/src/ -regex ".*\.\(h\|cpp\)" -exec $(indent) --options=$(ASTYLERC) {} \; ; \
find $(top_srcdir)/src/ -name \*.cpp -o -name \*.h | xargs $(indent) --options=$(ASTYLERC) ; \
fi

View File

@ -30,7 +30,7 @@
#include "echocancel.h"
// #include <fstream>
#include <cmath>
EchoCancel::EchoCancel (int smplRate, int frameLength) : _samplingRate (smplRate),
_frameLength (frameLength),