Fix build errors

This commit is contained in:
wmayer
2013-02-13 00:34:45 +01:00
parent d739a2e41b
commit 8160c8280f
2 changed files with 2 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#include "Uuid.h"
#include "Exception.h"
#include "Interpreter.h"
#include <stdexcept>
#include <CXX/Objects.hxx>
@@ -93,4 +94,4 @@ void Uuid::setValue(const std::string &sString)
const std::string& Uuid::getValue(void) const
{
return _uuid;
}
}

View File

@@ -46,7 +46,6 @@
// FreeCAD Base header
#include <Base/Exception.h>
#include <Base/Uuid.h>
#include <App/Application.h>
@@ -127,8 +126,6 @@ extern "C"
strncpy(argv[0], info.dli_fname,PATH_MAX);
argv[0][PATH_MAX-1] = '\0'; // ensure null termination
// this is a workaround to avoid a crash in libuuid.so
Base::Uuid uuid;
uuid.UuidStr="";
#elif defined(FC_OS_MACOSX)
uint32_t sz = 0;
char *buf;