diff options
-rw-r--r-- | src/export.cc | 1 | ||||
-rw-r--r-- | src/glview.cc | 1 | ||||
-rw-r--r-- | src/grid.h | 1 | ||||
-rw-r--r-- | src/openscad.cc | 2 | ||||
-rw-r--r-- | src/polyset.h | 2 |
5 files changed, 5 insertions, 2 deletions
diff --git a/src/export.cc b/src/export.cc index 9bb5816..99419aa 100644 --- a/src/export.cc +++ b/src/export.cc @@ -24,6 +24,7 @@ #include <QApplication> #include <QProgressDialog> +#include <errno.h> #ifdef ENABLE_CGAL #include "cgal.h" diff --git a/src/glview.cc b/src/glview.cc index 72e9ff2..a6db48f 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -27,6 +27,7 @@ #include <QMessageBox> #include <QTimer> #include <math.h> +#include <stdio.h> #define FAR_FAR_AWAY 100000.0 @@ -2,6 +2,7 @@ #define GRID_H_ #include <math.h> +#include <stdint.h> #include <QHash> const double GRID_COARSE = 0.001; diff --git a/src/openscad.cc b/src/openscad.cc index 05b673b..8c0db68 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -64,7 +64,7 @@ void handle_dep(QString filename) if (!QFile(filename).exists() && make_command) { char buffer[4096]; snprintf(buffer, 4096, "%s '%s'", make_command, filename.replace("'", "'\\''").toUtf8().data()); - system(buffer); + system(buffer); // FIXME: Handle error } } diff --git a/src/polyset.h b/src/polyset.h index 2196d1b..0914e91 100644 --- a/src/polyset.h +++ b/src/polyset.h @@ -15,7 +15,7 @@ # include "cgal.h" #endif -#include <QCache.h> +#include <QCache> class PolySet { |