diff --git a/hecl/include/hecl/Blender/Connection.hpp b/hecl/include/hecl/Blender/Connection.hpp index c7f70ba39..82f66d3b7 100644 --- a/hecl/include/hecl/Blender/Connection.hpp +++ b/hecl/include/hecl/Blender/Connection.hpp @@ -35,7 +35,6 @@ #include #include #include -#include namespace hecl::blender { using namespace std::literals; diff --git a/hecl/include/hecl/PipelineBase.hpp b/hecl/include/hecl/PipelineBase.hpp index d15fdf612..235f1723f 100644 --- a/hecl/include/hecl/PipelineBase.hpp +++ b/hecl/include/hecl/PipelineBase.hpp @@ -1,6 +1,6 @@ #pragma once #include "Compilers.hpp" -extern "C" unsigned long long XXH64(const void* input, size_t length, unsigned long long seed); +#include "../extern/boo/xxhash/xxhash.h" #define HECL_RUNTIME 1 diff --git a/hecl/lib/Blender/Connection.cpp b/hecl/lib/Blender/Connection.cpp index 15fbd66e8..9e63544d9 100644 --- a/hecl/lib/Blender/Connection.cpp +++ b/hecl/lib/Blender/Connection.cpp @@ -313,8 +313,8 @@ Connection::Connection(int verbosityLevel) { if (!CloseHandle(consoleOutReadTmp)) BlenderLog.report(logvisor::Fatal, fmt("Error with CloseHandle")); #else - pipe(m_readpipe); - pipe(m_writepipe); + pipe(m_readpipe.data()); + pipe(m_writepipe.data()); #endif /* User-specified blender path */ diff --git a/hecl/lib/Blender/MeshOptimizer.cpp b/hecl/lib/Blender/MeshOptimizer.cpp index 2ddca9ad8..f14068735 100644 --- a/hecl/lib/Blender/MeshOptimizer.cpp +++ b/hecl/lib/Blender/MeshOptimizer.cpp @@ -1,5 +1,6 @@ #include "MeshOptimizer.hpp" #include +#include #include namespace hecl::blender {