diff --git a/src/Base/Uuid.cpp b/src/Base/Uuid.cpp index eb0395a8c0..2c1f44fa31 100644 --- a/src/Base/Uuid.cpp +++ b/src/Base/Uuid.cpp @@ -31,6 +31,7 @@ #include "Uuid.h" #include "Exception.h" #include "Interpreter.h" +#include #include @@ -93,4 +94,4 @@ void Uuid::setValue(const std::string &sString) const std::string& Uuid::getValue(void) const { return _uuid; -} \ No newline at end of file +} diff --git a/src/Main/MainPy.cpp b/src/Main/MainPy.cpp index e2ebb537e8..702238e01d 100644 --- a/src/Main/MainPy.cpp +++ b/src/Main/MainPy.cpp @@ -46,7 +46,6 @@ // FreeCAD Base header #include -#include #include @@ -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;