diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/import.cc | 2 | ||||
-rw-r--r-- | src/value.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/import.cc b/src/import.cc index 7c8091c..dc40c8d 100644 --- a/src/import.cc +++ b/src/import.cc @@ -118,7 +118,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const if (this->type == TYPE_STL) { - handle_dep(this->filename); + handle_dep((std::string)this->filename); std::ifstream f(this->filename.c_str(), std::ios::in | std::ios::binary); if (!f.good()) { PRINTB("WARNING: Can't open import file '%s'.", this->filename); diff --git a/src/value.cc b/src/value.cc index 2602f32..666062a 100644 --- a/src/value.cc +++ b/src/value.cc @@ -25,7 +25,8 @@ */ #include "value.h" -#include <assert.h> +#include <math.h> +#include <assert.h> // fmod #include <sstream> #include <boost/foreach.hpp> #include <boost/variant/apply_visitor.hpp> |