From 2268b5f09374ecf6933ba7e415b2afb0007a2d05 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Fri, 16 Jan 2015 16:37:19 +0100 Subject: [PATCH] Fix some missing #includes --- ResourceFiles/ResourceFile.cc | 3 ++- Rez/RezLexer.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ResourceFiles/ResourceFile.cc b/ResourceFiles/ResourceFile.cc index f72d6e5068..dc7ca520a0 100644 --- a/ResourceFiles/ResourceFile.cc +++ b/ResourceFiles/ResourceFile.cc @@ -4,6 +4,7 @@ #include #include "boost/filesystem/fstream.hpp" #include +#include #ifdef __APPLE__ #include @@ -341,7 +342,7 @@ bool ResourceFile::write() hfs_format(pathstring.c_str(), 0, 0, path.stem().string().substr(0,27).c_str(), 0, NULL); hfsvol *vol = hfs_mount(pathstring.c_str(), 0, HFS_MODE_RDWR); //hfs_setvol(vol, ) - hfsfile *file = hfs_create(vol, (path.stem().string().substr(0.31)).c_str(), + hfsfile *file = hfs_create(vol, (path.stem().string().substr(0,31)).c_str(), ((std::string)type).c_str(), ((std::string)creator).c_str()); hfs_setfork(file, 0); hfs_write(file, data.data(), data.size()); diff --git a/Rez/RezLexer.h b/Rez/RezLexer.h index 4bc4891374..9208f581b2 100644 --- a/Rez/RezLexer.h +++ b/Rez/RezLexer.h @@ -2,6 +2,7 @@ #define REZLEXER_H #include +#include class RezSymbol;