linux build fixes

git-svn-id: http://svn.clifford.at/openscad/trunk@369 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2010-01-30 05:25:21 +00:00
parent 3ff0eeefaa
commit 83647da87e
5 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@
#include <QApplication>
#include <QProgressDialog>
#include <errno.h>
#ifdef ENABLE_CGAL
#include "cgal.h"

View File

@ -27,6 +27,7 @@
#include <QMessageBox>
#include <QTimer>
#include <math.h>
#include <stdio.h>
#define FAR_FAR_AWAY 100000.0

View File

@ -2,6 +2,7 @@
#define GRID_H_
#include <math.h>
#include <stdint.h>
#include <QHash>
const double GRID_COARSE = 0.001;

View File

@ -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
}
}

View File

@ -15,7 +15,7 @@
# include "cgal.h"
#endif
#include <QCache.h>
#include <QCache>
class PolySet
{