Commit 315d64b9 authored by Marat Radchenko's avatar Marat Radchenko Committed by Pierre-Luc Bacon

[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)
parent 5e98ca7a
......@@ -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
......@@ -30,7 +30,7 @@
#include "echocancel.h"
// #include <fstream>
#include <cmath>
EchoCancel::EchoCancel (int smplRate, int frameLength) : _samplingRate (smplRate),
_frameLength (frameLength),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment