- use <cmath> instead of <math.h>. Seems to be needed on Debian.

svn path=/trunk/boinc/; revision=25938
This commit is contained in:
David Anderson 2012-08-01 21:21:38 +00:00
parent 2e71ade9c5
commit da7e40f142
6 changed files with 17 additions and 6 deletions

View File

@ -5118,3 +5118,14 @@ David 1 Aug 2012
lib/
*cpp
David 1 Aug 2012
- use <cmath> instead of <math.h>. Seems to be needed on Debian.
sched/
credit.cpp
plan_class_spec.cpp
sched_driver.cpp
feeder.cpp
vda/
ssim.cpp

View File

@ -22,7 +22,7 @@
// Note: this is credit.cpp rather than sched_credit.cpp
// because you might grant credit e.g. from a trickle handler
#include <math.h>
#include <cmath>
#include "boinc_db.h"
#include "error_numbers.h"

View File

@ -99,7 +99,7 @@
#include <ctime>
#include <csignal>
#include <unistd.h>
#include <math.h>
#include <cmath>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>

View File

@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
#include <math.h>
#include <cmath>
#include "util.h"
#include "coproc.h"

View File

@ -42,8 +42,8 @@
#include <cstdio>
#include <vector>
#include <math.h>
#include <string.h>
#include <cmath>
#include <cstring>
#include "util.h"
#include "svn_version.h"

View File

@ -36,7 +36,7 @@
#include <set>
#include <limits.h>
#include <math.h>
#include <cmath>
#include "des.h"
#include "stats.h"